PropertyKeys.cs 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. // -----------------------------------------
  2. // SoundScribe (TM) and related software.
  3. //
  4. // Copyright (C) 2007-2011 Vannatech
  5. // http://www.vannatech.com
  6. // All rights reserved.
  7. //
  8. // This source code is subject to the MIT License.
  9. // http://www.opensource.org/licenses/mit-license.php
  10. //
  11. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  12. // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  13. // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  14. // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  15. // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  16. // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  17. // THE SOFTWARE.
  18. // -----------------------------------------
  19. using System;
  20. namespace Vannatech.CoreAudio.Constants
  21. {
  22. /// <summary>
  23. /// Defines all applicable property keys for CoreAudio API.
  24. /// </summary>
  25. public static class PropertyKeys
  26. {
  27. /* Defined by MMDevice API */
  28. /* ----------------------- */
  29. /// <summary>
  30. /// Indicates the physical attributes of the audio endpoint device.
  31. /// </summary>
  32. public static readonly Guid PKEY_AudioEndpoint_FormFactor = new Guid(0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x23, 0xe0, 0xc0, 0xff, 0xee, 0x7f, 0x0e);
  33. /// <summary>
  34. /// Specifies the CLSID of the registered provider of the device-properties extension for the audio endpoint device.
  35. /// </summary>
  36. public static readonly Guid PKEY_AudioEndpoint_ControlPanelPageProvider = new Guid(0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x23, 0xe0, 0xc0, 0xff, 0xee, 0x7f, 0x0e);
  37. /// <summary>
  38. /// Associates a kernel-streaming (KS) pin category with an audio endpoint device.
  39. /// </summary>
  40. public static readonly Guid PKEY_AudioEndpoint_Association = new Guid(0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x23, 0xe0, 0xc0, 0xff, 0xee, 0x7f, 0x0e);
  41. /// <summary>
  42. /// Defines the physical speaker configuration for the audio endpoint device.
  43. /// </summary>
  44. public static readonly Guid PKEY_AudioEndpoint_PhysicalSpeakers = new Guid(0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x23, 0xe0, 0xc0, 0xff, 0xee, 0x7f, 0x0e);
  45. /// <summary>
  46. /// Supplies the DirectSound device identifier that corresponds to the audio endpoint device.
  47. /// </summary>
  48. public static readonly Guid PKEY_AudioEndpoint_GUID = new Guid(0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x23, 0xe0, 0xc0, 0xff, 0xee, 0x7f, 0x0e);
  49. /// <summary>
  50. /// Specifies whether system effects are enabled in the shared-mode stream that flows to or from the audio endpoint device.
  51. /// </summary>
  52. public static readonly Guid PKEY_AudioEndpoint_Disable_SysFx = new Guid(0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x23, 0xe0, 0xc0, 0xff, 0xee, 0x7f, 0x0e);
  53. /// <summary>
  54. /// Specifies the channel-configuration mask for the full-range speakers that are connected to the audio endpoint device.
  55. /// </summary>
  56. public static readonly Guid PKEY_AudioEndpoint_FullRangeSpeakers = new Guid(0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x23, 0xe0, 0xc0, 0xff, 0xee, 0x7f, 0x0e);
  57. /// <summary>
  58. /// Indicates whether the endpoint supports the event-driven mode.
  59. /// </summary>
  60. public static readonly Guid PKEY_AudioEndpoint_Supports_EventDriven_Mode = new Guid(0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x23, 0xe0, 0xc0, 0xff, 0xee, 0x7f, 0x0e);
  61. /// <summary>
  62. /// Contains an output category GUID for an audio endpoint device.
  63. /// </summary>
  64. public static readonly Guid PKEY_AudioEndpoint_JackSubType = new Guid(0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x23, 0xe0, 0xc0, 0xff, 0xee, 0x7f, 0x0e);
  65. /// <summary>
  66. /// Specifies the device format, which is the format that the audio engine uses for the shared-mode stream that flows to or from the audio endpoint device.
  67. /// </summary>
  68. public static readonly Guid PKEY_AudioEngine_DeviceFormat = new Guid(0xf19f064d, 0x82c, 0x4e27, 0xbc, 0x73, 0x68, 0x82, 0xa1, 0xbb, 0x8e, 0x4c);
  69. /// <summary>
  70. /// Specifies the default format of the device that is used for rendering or capturing a stream.
  71. /// </summary>
  72. public static readonly Guid PKEY_AudioEngine_OEMFormat = new Guid(0xe4870e26, 0x3cc5, 0x4cd2, 0xba, 0x46, 0xca, 0xa, 0x9a, 0x70, 0xed, 0x4);
  73. /* External to MMDevice API */
  74. /* ------------------------ */
  75. /// <summary>
  76. /// Contains the friendly name of the endpoint device.
  77. /// </summary>
  78. public static readonly Guid PKEY_DeviceInterface_FriendlyName = new Guid(0xa45c254e, 0xdf1c, 0x4efd, 0x80, 0x20, 0x67, 0xd1, 0x46, 0xa8, 0x50, 0xe0);
  79. }
  80. }