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.

77 lines
1.7 KiB

  1. /*++
  2. Copyright (c) 1997-2000 Microsoft Corporation All Rights Reserved
  3. Module Name:
  4. multi.h
  5. Abstract:
  6. Node and Pin numbers for multiple sample.
  7. Revision History:
  8. Alper Selcuk 06/21/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. };
  37. // topology pins.
  38. enum
  39. {
  40. KSPIN_TOPO_WAVEOUT_SOURCE = 0,
  41. KSPIN_TOPO_SYNTHOUT_SOURCE,
  42. KSPIN_TOPO_SYNTHIN_SOURCE,
  43. KSPIN_TOPO_MIC_SOURCE,
  44. KSPIN_TOPO_LINEOUT_DEST,
  45. KSPIN_TOPO_WAVEIN_DEST
  46. };
  47. // topology nodes.
  48. enum
  49. {
  50. KSNODE_TOPO_WAVEOUT_VOLUME = 0,
  51. KSNODE_TOPO_WAVEOUT_MUTE,
  52. KSNODE_TOPO_SYNTHOUT_VOLUME,
  53. KSNODE_TOPO_SYNTHOUT_MUTE,
  54. KSNODE_TOPO_MIC_VOLUME,
  55. KSNODE_TOPO_SYNTHIN_VOLUME,
  56. KSNODE_TOPO_LINEOUT_MIX,
  57. KSNODE_TOPO_LINEOUT_VOLUME,
  58. KSNODE_TOPO_WAVEIN_MUX
  59. };
  60. #endif