diff options
Diffstat (limited to 'Voice.cs')
-rw-r--r-- | Voice.cs | 19 |
1 files changed, 1 insertions, 18 deletions
@@ -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); - } -} |