Browse Source

Default output channels to stereo

tags/docs-0.9
RogueException 9 years ago
parent
commit
dc912d5d93
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      src/Discord.Net.Audio/AudioServiceConfig.cs

+ 2
- 3
src/Discord.Net.Audio/AudioServiceConfig.cs 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;


Loading…
Cancel
Save