diff --git a/src/Discord.Net/DiscordClient.Voice.cs b/src/Discord.Net/DiscordClient.Voice.cs index e64f9972a..1d6fa39df 100644 --- a/src/Discord.Net/DiscordClient.Voice.cs +++ b/src/Discord.Net/DiscordClient.Voice.cs @@ -31,10 +31,9 @@ namespace Discord } } - /// Sends a PCM frame to the voice server. + /// Sends a PCM frame to the voice server. Will block until space frees up in the outgoing buffer. /// PCM frame to send. This must be a single or collection of uncompressed 48Kz monochannel 20ms PCM frames. /// Number of bytes in this frame. - /// Will block until public void SendVoicePCM(byte[] data, int count) { CheckReady(checkVoice: true); diff --git a/src/Discord.Net/DiscordClientConfig.cs b/src/Discord.Net/DiscordClientConfig.cs index 0eb2babc5..d8862edd0 100644 --- a/src/Discord.Net/DiscordClientConfig.cs +++ b/src/Discord.Net/DiscordClientConfig.cs @@ -24,13 +24,13 @@ namespace Discord /// Gets or sets the time (in milliseconds) to wait when the message queue is empty before checking again. public int MessageQueueInterval { get { return _messageQueueInterval; } set { SetValue(ref _messageQueueInterval, value); } } private int _messageQueueInterval = 100; - /// Gets or sets the max buffer length (in milliseconds) for outgoing voice packets. This value is the target maximum but is not guaranteed, the buffer will often go slightly above this value. + /// Gets or sets the max buffer length (in milliseconds) for outgoing voice packets. This value is the target maximum but is not guaranteed, the buffer will often go slightly above this value. public int VoiceBufferLength { get { return _voiceBufferLength; } set { SetValue(ref _voiceBufferLength, value); } } private int _voiceBufferLength = 3000; //Experimental Features #if !DNXCORE50 - /// (Experimental) Enables the voice websocket and UDP client. This option requires the opus .dll or .so be in the local lib/ folder. + /// (Experimental) Enables the voice websocket and UDP client. This option requires the opus .dll or .so be in the local lib/ folder. public bool EnableVoice { get { return _enableVoice; } set { SetValue(ref _enableVoice, value); } } private bool _enableVoice = false; #else diff --git a/src/Discord.Net/Models/Channel.cs b/src/Discord.Net/Models/Channel.cs index f732ef584..731dad8e3 100644 --- a/src/Discord.Net/Models/Channel.cs +++ b/src/Discord.Net/Models/Channel.cs @@ -45,12 +45,10 @@ namespace Discord [JsonIgnore] public User Recipient => _client.Users[RecipientId]; - /// Returns a collection of the ids of all messages the client has seen posted in this channel. - /// This collection does not guarantee any ordering. + /// Returns a collection of the ids of all messages the client has seen posted in this channel. This collection does not guarantee any ordering. [JsonIgnore] public IEnumerable MessageIds => _messages.Select(x => x.Key); - /// Returns a collection of all messages the client has seen posted in this channel. - /// This collection does not guarantee any ordering. + /// Returns a collection of all messages the client has seen posted in this channel. This collection does not guarantee any ordering. [JsonIgnore] public IEnumerable Messages => _messages.Select(x => _client.Messages[x.Key]); diff --git a/src/Discord.Net/Models/User.cs b/src/Discord.Net/Models/User.cs index caab18b27..ae2a47858 100644 --- a/src/Discord.Net/Models/User.cs +++ b/src/Discord.Net/Models/User.cs @@ -47,7 +47,7 @@ namespace Discord //TODO: Add voice triggering LastActivity /// Returns the time this user last sent a message. - /// Is not currently affected by voice activity + /// Is not currently affected by voice activity. public DateTime LastActivity { get; private set; } internal User(DiscordClient client, string id)