Default output channels to stereo

This commit is contained in:
RogueException
2016-01-08 17:47:07 -04:00
parent fdcca462ab
commit dc912d5d93

View File

@@ -36,10 +36,9 @@ namespace Discord.Audio
/// <summary> 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. </summary>
public int? Bitrate { get { return _bitrate; } set { SetValue(ref _bitrate, value); } }
private int? _bitrate = null;
/// <summary> Gets or sets the number of channels (1 or 2) used for outgoing audio. </summary>
/// <summary> Gets or sets the number of channels used (1 or 2) for outgoing voice packets. Defaults to 2 (stereo) </summary>
public int Channels { get { return _channels; } set { SetValue(ref _channels, value); } }
private int _channels = 1;
private int _channels = 2;
//Lock
protected bool _isLocked;