Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.7 KiB

  1. //////////////////////////////////////////////////////////////////////////
  2. // This header file is only used if you compile the driver with the switch
  3. // INCLUDE_PRIVATE_PROPERTY defined. Additionally, this header file is
  4. // also used by the property page sample.
  5. //
  6. // This header file defines the private property (the GUID) and the
  7. // "messages" therin. It also defines the structure passed down.
  8. //
  9. //
  10. // The GUID was generated with guidgen.exe
  11. //
  12. // This is the GUID for the private property request.
  13. #define STATIC_KSPROPSETID_Private \
  14. 0x2aa7a0b1L, 0x9f78, 0x4606, 0xb8, 0x82, 0x66, 0xb7, 0xf, 0x2, 0x26, 0x37
  15. DEFINE_GUIDSTRUCT("2AA7A0B1-9F78-4606-B882-66B70F022637", KSPROPSETID_Private);
  16. #define KSPROPSETID_Private DEFINE_GUIDNAMED(KSPROPSETID_Private)
  17. // Define the method in the property. You can have multiple methods defined
  18. // for one private property ...
  19. const int KSPROPERTY_AC97_FEATURES = 1;
  20. #ifdef PROPERTY_SHOW_SET
  21. const int KSPROPERTY_AC97_SAMPLE_SET = 2;
  22. #endif
  23. // This is the enum for the volume controls.
  24. enum VolumeControl
  25. {
  26. VolumeDisabled,
  27. Volume5bit,
  28. Volume6bit
  29. };
  30. // This is the enum for the DAC or ADC resolution.
  31. enum Resolution
  32. {
  33. Resolution16bit,
  34. Resolution18bit,
  35. Resolution20bit
  36. };
  37. // Structure passed in the private property request with method
  38. // KSPROPERTY_AC97_FEATURES.
  39. typedef struct
  40. {
  41. VolumeControl MasterVolume;
  42. VolumeControl HeadphoneVolume;
  43. VolumeControl MonoOutVolume;
  44. Resolution DAC;
  45. Resolution ADC;
  46. int n3DTechnique;
  47. BOOLEAN bMicInPresent;
  48. BOOLEAN bVSRPCM;
  49. BOOLEAN bDSRPCM;
  50. BOOLEAN bVSRMIC;
  51. BOOLEAN bCenterDAC;
  52. BOOLEAN bSurroundDAC;
  53. BOOLEAN bLFEDAC;
  54. } tAC97Features;