2022-08-13 01:26:00 +00:00
|
|
|
#ifndef _CAUDIOSYS_HPP
|
|
|
|
#define _CAUDIOSYS_HPP
|
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
2022-09-13 04:26:54 +00:00
|
|
|
enum ETRKSampleRate {
|
|
|
|
kTSR_Zero,
|
|
|
|
kTSR_One,
|
|
|
|
// TODO
|
|
|
|
};
|
|
|
|
|
|
|
|
enum ETRKRepeatMode {
|
|
|
|
// TODO
|
|
|
|
};
|
|
|
|
|
2022-08-13 01:26:00 +00:00
|
|
|
class CAudioSys {
|
|
|
|
public:
|
2022-09-13 04:26:54 +00:00
|
|
|
CAudioSys(u8, u8, u8, u8, uint);
|
2022-10-01 06:19:09 +00:00
|
|
|
~CAudioSys();
|
2022-09-13 04:26:54 +00:00
|
|
|
|
|
|
|
static void SysSetVolume(u8, uint, u8);
|
|
|
|
static void SetDefaultVolumeScale(s16);
|
|
|
|
static void SetVolumeScale(s16);
|
|
|
|
static void TrkSetSampleRate(ETRKSampleRate);
|
|
|
|
|
|
|
|
static s16 GetDefaultVolumeScale();
|
|
|
|
|
2022-08-14 18:42:30 +00:00
|
|
|
static const u8 kMaxVolume;
|
2022-08-13 01:26:00 +00:00
|
|
|
};
|
|
|
|
|
2022-09-18 06:05:46 +00:00
|
|
|
#endif
|