From ab43f8277150a6fc231cff57132899b28b5f5f0f Mon Sep 17 00:00:00 2001 From: William Haskell Date: Tue, 14 Mar 2017 18:47:28 +0100 Subject: [PATCH] Update audio_ffmpeg.cs AudioApplication is a required argument --- docs/guides/samples/audio_ffmpeg.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/samples/audio_ffmpeg.cs b/docs/guides/samples/audio_ffmpeg.cs index 877050caf..716ec3d6c 100644 --- a/docs/guides/samples/audio_ffmpeg.cs +++ b/docs/guides/samples/audio_ffmpeg.cs @@ -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(1920); + var discord = client.CreatePCMStream(AudioApplication.Mixed, 1920); await output.CopyToAsync(discord); await discord.FlushAsync(); -} \ No newline at end of file +}