AudioOptions.cs 1021 B

123456789101112131415161718192021222324252627282930313233
  1. using System.Collections.Generic;
  2. using MediaBrowser.Model.Dto;
  3. namespace MediaBrowser.Model.Dlna
  4. {
  5. /// <summary>
  6. /// Class AudioOptions.
  7. /// </summary>
  8. public class AudioOptions
  9. {
  10. public string ItemId { get; set; }
  11. public List<MediaSourceInfo> MediaSources { get; set; }
  12. public DeviceProfile Profile { get; set; }
  13. /// <summary>
  14. /// Optional. Only needed if a specific AudioStreamIndex or SubtitleStreamIndex are requested.
  15. /// </summary>
  16. public string MediaSourceId { get; set; }
  17. public string DeviceId { get; set; }
  18. /// <summary>
  19. /// Allows an override of supported number of audio channels
  20. /// Example: DeviceProfile supports five channel, but user only has stereo speakers
  21. /// </summary>
  22. public int? MaxAudioChannels { get; set; }
  23. /// <summary>
  24. /// The application's configured quality setting
  25. /// </summary>
  26. public int? MaxBitrate { get; set; }
  27. }
  28. }