Add voice guide

This commit is contained in:
Christopher F
2017-01-16 13:21:32 -05:00
parent 99b1398dc4
commit 6a0f41a4dc
7 changed files with 121 additions and 21 deletions

View File

@@ -0,0 +1,11 @@
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);
}