From dc912d5d937984c1cf741fcde9f19a0e90038d4b Mon Sep 17 00:00:00 2001 From: RogueException Date: Fri, 8 Jan 2016 17:47:07 -0400 Subject: [PATCH] Default output channels to stereo --- src/Discord.Net.Audio/AudioServiceConfig.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Discord.Net.Audio/AudioServiceConfig.cs b/src/Discord.Net.Audio/AudioServiceConfig.cs index a832554ce..56576544f 100644 --- a/src/Discord.Net.Audio/AudioServiceConfig.cs +++ b/src/Discord.Net.Audio/AudioServiceConfig.cs @@ -36,10 +36,9 @@ namespace Discord.Audio /// Gets or sets the bitrate used (in kbit/s, between 1 and 512 inclusively) for outgoing voice packets. A null value will use default Opus settings. public int? Bitrate { get { return _bitrate; } set { SetValue(ref _bitrate, value); } } private int? _bitrate = null; - - /// Gets or sets the number of channels (1 or 2) used for outgoing audio. + /// Gets or sets the number of channels used (1 or 2) for outgoing voice packets. Defaults to 2 (stereo) public int Channels { get { return _channels; } set { SetValue(ref _channels, value); } } - private int _channels = 1; + private int _channels = 2; //Lock protected bool _isLocked;