You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

VoiceSettings.cs 901 B

1234567891011121314151617181920212223242526
  1. #pragma warning disable CS1591
  2. using Newtonsoft.Json;
  3. namespace Discord.API.Rpc
  4. {
  5. internal class VoiceSettings
  6. {
  7. [JsonProperty("input")]
  8. public VoiceDeviceSettings Input { get; set; }
  9. [JsonProperty("output")]
  10. public VoiceDeviceSettings Output { get; set; }
  11. [JsonProperty("mode")]
  12. public VoiceMode Mode { get; set; }
  13. [JsonProperty("automatic_gain_control")]
  14. public Optional<bool> AutomaticGainControl { get; set; }
  15. [JsonProperty("echo_cancellation")]
  16. public Optional<bool> EchoCancellation { get; set; }
  17. [JsonProperty("noise_suppression")]
  18. public Optional<bool> NoiseSuppression { get; set; }
  19. [JsonProperty("qos")]
  20. public Optional<bool> QualityOfService { get; set; }
  21. [JsonProperty("silence_warning")]
  22. public Optional<bool> SilenceWarning { get; set; }
  23. }
  24. }