diff options
author | TrueDoctor <d-kobert@web.de> | 2018-04-08 20:23:57 +0200 |
---|---|---|
committer | TrueDoctor <d-kobert@web.de> | 2018-04-08 20:23:57 +0200 |
commit | 23d2ede6124b0a7b10a74058a396477d52941337 (patch) | |
tree | d711ba83f6c17dc0065cb6c7b065ad27ef5b237f /Voice.cs | |
parent | 27a7038458f7ae0bcb9f2b4065940308b89fc172 (diff) |
Did a lot of awsome stuff
Diffstat (limited to 'Voice.cs')
-rw-r--r-- | Voice.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Voice.cs b/Voice.cs new file mode 100644 index 0000000..ea2f6d6 --- /dev/null +++ b/Voice.cs @@ -0,0 +1,21 @@ +using System; + +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); + } +} |