This commit is contained in:
nephacks
2025-06-04 03:22:50 +02:00
parent f234f23848
commit f12416cffd
14243 changed files with 6446499 additions and 26 deletions

View File

@@ -0,0 +1,24 @@
//========= Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=====================================================================================//
#ifndef SND_WAVE_MIXER_XMA_H
#define SND_WAVE_MIXER_XMA_H
#pragma once
class CAudioMixer;
class IWaveData;
// xma must be decoded as atomic blocks
#define XMA_BLOCK_SIZE ( 2 * 1024 )
// cannot be made slower than 15ms
// cannot be made faster than 5ms
// xma hardware needs be have stable clocking
#define XMA_POLL_RATE 15
CAudioMixer *CreateXMAMixer( IWaveData *data, int initialStreamPosition, int skipInitialSamples, bool bUpdateDelayForChoreo );
#endif // SND_WAVE_MIXER_XMA_H