Remove wrong parameter from FFMPEG audio example

This parameter was samples per frame but changed to bitrate. (1920 is a way to low bitrate :) )
This commit is contained in:
Bond-009
2017-05-11 18:01:39 +02:00
committed by GitHub
parent c01769ef4a
commit a92c27da3b

View File

@@ -3,7 +3,7 @@ private async Task SendAsync(IAudioClient client, string path)
// Create FFmpeg using the previous example
var ffmpeg = CreateStream(path);
var output = ffmpeg.StandardOutput.BaseStream;
var discord = client.CreatePCMStream(AudioApplication.Mixed, 1920);
var discord = client.CreatePCMStream(AudioApplication.Mixed);
await output.CopyToAsync(discord);
await discord.FlushAsync();
}