blob: 7ec7663a784e44565e89d279433aecab1e417eb8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
//========= Copyright 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 );
#endif // SND_WAVE_MIXER_XMA_H
|