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.

80 lines
1.9 KiB

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