diff options
author | TrueDoctor <d-kobert@web.de> | 2018-04-09 00:54:19 +0200 |
---|---|---|
committer | TrueDoctor <d-kobert@web.de> | 2018-04-09 00:54:19 +0200 |
commit | 82f07c959dc7a87251b4617e462003471e3cc071 (patch) | |
tree | 37c397e9d7ae74c74b2afad3dae940237327b755 /DiscoBot/Audio.cs | |
parent | cac1ade8763605c3cf09859a48358cab0e00027a (diff) |
Refactoring and Cleanup
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); - } - } - - -} |