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.

35 lines
1.4 KiB

  1. /******************************************************************************\
  2. * *
  3. * AUDIODAC.H - include file for Audio DAC control interface. *
  4. * *
  5. * Copyright (c) C-Cube Microsystems 1996 *
  6. * All Rights Reserved. *
  7. * *
  8. * Use of C-Cube Microsystems code is governed by terms and conditions *
  9. * stated in the accompanying licensing statement. *
  10. * *
  11. \******************************************************************************/
  12. #ifndef _AUDIODAC_H_
  13. #define _AUDIODAC_H_
  14. typedef enum _ADAC_SAMPLING_FREQ
  15. {
  16. ADAC_SAMPLING_FREQ_44,
  17. ADAC_SAMPLING_FREQ_48,
  18. ADAC_SAMPLING_FREQ_96
  19. } ADAC_SAMPLING_FREQ;
  20. typedef enum _ADAC_INPUT_RESOLUTION
  21. {
  22. ADAC_INPUT_RESOLUTION_16,
  23. ADAC_INPUT_RESOLUTION_20,
  24. ADAC_INPUT_RESOLUTION_24
  25. } ADAC_INPUT_RESOLUTION;
  26. void ADAC_Init( DWORD dwBaseAddress );
  27. void ADAC_SetSamplingFrequency( ADAC_SAMPLING_FREQ SamplingFrequency );
  28. void ADAC_SetInputResolution( ADAC_INPUT_RESOLUTION InputResolution );
  29. void ADAC_Mute( BOOL Mute );
  30. #endif // _AUDIODAC_H_