From e736e123fe47946e14c80e0606acce6bfcbdfde7 Mon Sep 17 00:00:00 2001 From: Chris Johnston Date: Fri, 24 Mar 2017 01:27:56 -0700 Subject: [PATCH] Update voice.md commit 254c83ecff0c28fbf8219eea91de09e53d491722 removed AudioMode enum and AudioMode from DiscordSocketConfig. Removed now outdated steps from the 'installation' category as they no longer apply. --- docs/guides/voice.md | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/docs/guides/voice.md b/docs/guides/voice.md index 1f09069f5..7ab4905e8 100644 --- a/docs/guides/voice.md +++ b/docs/guides/voice.md @@ -7,17 +7,6 @@ ## Installation -To use Audio, you must first configure your [DiscordSocketClient] -with Audio support. - -In your [DiscordSocketConfig], set `AudioMode` to the appropriate -[AudioMode] for your bot. For most bots, you will only need to use -`AudioMode.Outgoing`. - -[DiscordSocketClient]: xref:Discord.WebSocket.DiscordSocketClient -[DiscordSocketConfig]: xref:Discord.WebSocket.DiscordSocketConfig -[AudioMode]: xref:Discord.Audio.AudioMode - ### Dependencies Audio requires two native libraries, `libsodium` and `opus`. @@ -108,4 +97,4 @@ you will want to wait for audio to stop playing before continuing on to the next song. You can await `AudioOutStream.FlushAsync` to wait for the audio client's internal buffer to clear out. -[!code-csharp[Sending Audio](samples/audio_ffmpeg.cs)] \ No newline at end of file +[!code-csharp[Sending Audio](samples/audio_ffmpeg.cs)]