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.

82 lines
1.8 KiB

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