From 82f07c959dc7a87251b4617e462003471e3cc071 Mon Sep 17 00:00:00 2001 From: TrueDoctor Date: Mon, 9 Apr 2018 00:54:19 +0200 Subject: Refactoring and Cleanup --- DiscoBot/Audio.cs | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 DiscoBot/Audio.cs (limited to 'DiscoBot/Audio.cs') 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); - } - } - - -} -- cgit v1.2.3-70-g09d2