prime/include/Kyoto/Audio/CAudioSys.hpp

37 lines
694 B
C++
Raw Normal View History

#ifndef _CAUDIOSYS
#define _CAUDIOSYS
2022-08-13 01:26:00 +00:00
#include "types.h"
enum ETRKSampleRate {
kTSR_Zero,
kTSR_One,
// TODO
};
enum ETRKRepeatMode {
// TODO
};
2022-08-13 01:26:00 +00:00
class CAudioSys {
public:
2022-10-31 16:19:28 +00:00
enum ESurroundModes { kSM_Mono, kSM_Stereo, kSM_Surround };
CAudioSys(uchar, uchar, uchar, uchar, uint);
2022-10-01 06:19:09 +00:00
~CAudioSys();
static void SysSetVolume(uchar, uint, uchar);
2022-10-31 16:19:28 +00:00
static void SysSetSfxVolume(uchar, ushort, uchar, uchar);
static void SetDefaultVolumeScale(short);
static void SetVolumeScale(short);
2022-10-31 16:19:28 +00:00
static void SetSurroundMode(ESurroundModes);
static void TrkSetSampleRate(ETRKSampleRate);
static short GetDefaultVolumeScale();
static const uchar kMaxVolume;
2022-08-13 01:26:00 +00:00
};
#endif // _CAUDIOSYS