summaryrefslogtreecommitdiff
path: root/Voice.cs
diff options
context:
space:
mode:
authorTrueDoctor <d-kobert@web.de>2018-04-08 23:06:21 +0200
committerTrueDoctor <d-kobert@web.de>2018-04-08 23:06:21 +0200
commitcac1ade8763605c3cf09859a48358cab0e00027a (patch)
treea25658e2f59964facb7db25ed7d4056c072f2be6 /Voice.cs
parent23d2ede6124b0a7b10a74058a396477d52941337 (diff)
Added Audio Support
Diffstat (limited to 'Voice.cs')
-rw-r--r--Voice.cs19
1 files changed, 1 insertions, 18 deletions
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);
- }
-}