diff options
Diffstat (limited to 'DiscoBot/Audio.cs')
-rw-r--r-- | DiscoBot/Audio.cs | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/DiscoBot/Audio.cs b/DiscoBot/Audio.cs deleted file mode 100644 index 68c860c..0000000 --- a/DiscoBot/Audio.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace DiscoBot -{ - using System.Diagnostics; - - class Audio - { - private Process CreateStream(string path) - { - var ffmpeg = new ProcessStartInfo - { - FileName = "ffmpeg", - Arguments = $"-i {path} -ac 2 -f s16le -ar 48000 pipe:1", - UseShellExecute = false, - RedirectStandardOutput = true, - }; - return Process.Start(ffmpeg); - } - } - - -} |