Leaked source code of windows server 2003
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.

38 lines
1.2 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: dsplayd.h
  6. * Content: general wave in utilty functions and classes
  7. *
  8. * History:
  9. * Date By Reason
  10. * ==== == ======
  11. * 07/16/99 rodtoll Created
  12. * 08/25/99 rodtoll General Cleanup/Modifications to support new
  13. * compression sub-system.
  14. * 03/28/2000 rodtoll Removed code which was no longer used
  15. *
  16. ***************************************************************************/
  17. #ifndef __WAVEINUTILS_H
  18. #define __WAVEINUTILS_H
  19. // Recording Format DB
  20. //
  21. // The Recording Format DB contains a list of the formats that should
  22. // be used when attempting to initialize a recording device in full
  23. // duplex mode. They are listed in the database in the order in which
  24. // they should be tried.
  25. WAVEFORMATEX *GetRecordFormat( UINT index );
  26. UINT GetNumRecordFormats();
  27. void InitRecordFormats();
  28. void DeInitRecordFormats();
  29. BOOL IsValidRecordDevice( UINT deviceID );
  30. WAVEFORMATEX *CreateWaveFormat( short formatTag, BOOL stereo, int hz, int bits );
  31. #endif