Merge pull request #651 from Bond-009/patch-1
Remove wrong parameter from FFMPEG audio example
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user