Counter Strike : Global Offensive Source Code
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.

26 lines
884 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $Workfile: $
  6. // $Date: $
  7. //
  8. //-----------------------------------------------------------------------------
  9. // $Log: $
  10. //
  11. // $NoKeywords: $
  12. //=============================================================================//
  13. #ifndef SND_WAVE_MIXER_H
  14. #define SND_WAVE_MIXER_H
  15. #pragma once
  16. class IWaveData;
  17. class CAudioMixer;
  18. // skipInitialSamples is used when we can't determine the initialStreamPosition (if there is no seek table for example).
  19. // It has better granularity than the streamInitialPosition, but is less efficient when skipping large number of samples.
  20. CAudioMixer *CreateWaveMixer( IWaveData *data, int format, int channels, int bits, int initialStreamPosition, int skipInitialSamples, bool bUpdateDelayForChoreo );
  21. #endif // SND_WAVE_MIXER_H