Files
ss/include/nw4r/snd/snd_SoundSystem.h
T
elijah-thomas774 fa9a9ce949 lyt_common match
2024-05-12 20:23:22 -04:00

29 lines
704 B
C++

#ifndef NW4R_SND_SOUND_SYSTEM_H
#define NW4R_SND_SOUND_SYSTEM_H
#include "common.h"
#include "snd_AxManager.h"
namespace nw4r {
namespace snd {
struct SoundSystem {
struct SoundSystemParam {};
static inline f32 GetMasterVolume() {
return detail::AxManager::GetInstance().GetMasterVolume();
}
static inline void PrepareReset() {
detail::AxManager::GetInstance().PrepareReset();
}
void InitSoundSystem(s32, s32);
void InitSoundSystem(const SoundSystemParam &, void *, u32);
static void ShutdownSoundSystem();
static void WaitForResetReady();
UNKWORD GetRequiredMemSize(const SoundSystemParam &);
};
} // namespace snd
} // namespace nw4r
#endif