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.

73 lines
1.6 KiB

  1. /*++
  2. Copyright (c) 1997-2000 Microsoft Corporation All Rights Reserved
  3. Module Name:
  4. drmsimp.h
  5. Abstract:
  6. Node and Pin numbers for simple drm sample.
  7. --*/
  8. #ifndef _MSVAD_DRMSIMP_H_
  9. #define _MSVAD_DRMSIMP_H_
  10. // Pin properties.
  11. #define MAX_OUTPUT_STREAMS 1 // Number of capture streams.
  12. #define MAX_INPUT_STREAMS 1 // Number of render streams.
  13. #define MAX_TOTAL_STREAMS MAX_OUTPUT_STREAMS + MAX_INPUT_STREAMS
  14. // PCM Info
  15. #define MIN_CHANNELS 1 // Min Channels.
  16. #define MAX_CHANNELS_PCM 2 // Max Channels.
  17. #define MIN_BITS_PER_SAMPLE_PCM 8 // Min Bits Per Sample
  18. #define MAX_BITS_PER_SAMPLE_PCM 16 // Max Bits Per Sample
  19. #define MIN_SAMPLE_RATE 4000 // Min Sample Rate
  20. #define MAX_SAMPLE_RATE 64000 // Max Sample Rate
  21. // Wave pins
  22. enum
  23. {
  24. KSPIN_WAVE_CAPTURE_SINK = 0,
  25. KSPIN_WAVE_CAPTURE_SOURCE,
  26. KSPIN_WAVE_RENDER_SINK,
  27. KSPIN_WAVE_RENDER_SOURCE
  28. };
  29. // Wave Topology nodes.
  30. enum
  31. {
  32. KSNODE_WAVE_ADC = 0,
  33. KSNODE_WAVE_DAC
  34. };
  35. // topology pins.
  36. enum
  37. {
  38. KSPIN_TOPO_WAVEOUT_SOURCE = 0,
  39. KSPIN_TOPO_SYNTHOUT_SOURCE,
  40. KSPIN_TOPO_SYNTHIN_SOURCE,
  41. KSPIN_TOPO_MIC_SOURCE,
  42. KSPIN_TOPO_LINEOUT_DEST,
  43. KSPIN_TOPO_WAVEIN_DEST
  44. };
  45. // topology nodes.
  46. enum
  47. {
  48. KSNODE_TOPO_WAVEOUT_VOLUME = 0,
  49. KSNODE_TOPO_WAVEOUT_MUTE,
  50. KSNODE_TOPO_SYNTHOUT_VOLUME,
  51. KSNODE_TOPO_SYNTHOUT_MUTE,
  52. KSNODE_TOPO_MIC_VOLUME,
  53. KSNODE_TOPO_SYNTHIN_VOLUME,
  54. KSNODE_TOPO_LINEOUT_MIX,
  55. KSNODE_TOPO_LINEOUT_VOLUME,
  56. KSNODE_TOPO_WAVEIN_MUX
  57. };
  58. #endif