From cac1ade8763605c3cf09859a48358cab0e00027a Mon Sep 17 00:00:00 2001 From: TrueDoctor Date: Sun, 8 Apr 2018 23:06:21 +0200 Subject: Added Audio Support --- Voice.cs | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'Voice.cs') diff --git a/Voice.cs b/Voice.cs index ea2f6d6..031c49e 100644 --- a/Voice.cs +++ b/Voice.cs @@ -1,21 +1,4 @@ using System; +using Discord; -public class Voice -{ - public Voice(IAudioclient audi) - { - } - - 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