Team Fortress 2 Source Code as on 22/4/2020
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.

24 lines
625 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=====================================================================================//
  6. #ifndef SND_WAVE_MIXER_XMA_H
  7. #define SND_WAVE_MIXER_XMA_H
  8. #pragma once
  9. class CAudioMixer;
  10. class IWaveData;
  11. // xma must be decoded as atomic blocks
  12. #define XMA_BLOCK_SIZE ( 2 * 1024 )
  13. // cannot be made slower than 15ms
  14. // cannot be made faster than 5ms
  15. // xma hardware needs be have stable clocking
  16. #define XMA_POLL_RATE 15
  17. CAudioMixer *CreateXMAMixer( IWaveData *data, int initialStreamPosition );
  18. #endif // SND_WAVE_MIXER_XMA_H