mirror of https://github.com/PrimeDecomp/prime.git
32 lines
523 B
C++
32 lines
523 B
C++
#ifndef _CAUDIOSYS
|
|
#define _CAUDIOSYS
|
|
|
|
#include "types.h"
|
|
|
|
enum ETRKSampleRate {
|
|
kTSR_Zero,
|
|
kTSR_One,
|
|
// TODO
|
|
};
|
|
|
|
enum ETRKRepeatMode {
|
|
// TODO
|
|
};
|
|
|
|
class CAudioSys {
|
|
public:
|
|
CAudioSys(uchar, uchar, uchar, uchar, uint);
|
|
~CAudioSys();
|
|
|
|
static void SysSetVolume(uchar, uint, uchar);
|
|
static void SetDefaultVolumeScale(short);
|
|
static void SetVolumeScale(short);
|
|
static void TrkSetSampleRate(ETRKSampleRate);
|
|
|
|
static short GetDefaultVolumeScale();
|
|
|
|
static const uchar kMaxVolume;
|
|
};
|
|
|
|
#endif // _CAUDIOSYS
|