lyt_common match

This commit is contained in:
elijah-thomas774
2024-05-12 20:23:22 -04:00
parent 62e0778390
commit fa9a9ce949
157 changed files with 5276 additions and 5580 deletions
+20 -28
View File
@@ -1,36 +1,28 @@
#ifndef NW4R_SND_SOUND_SYSTEM_H
#define NW4R_SND_SOUND_SYSTEM_H
#include "types_nw4r.h"
#include "common.h"
#include "snd_AxManager.h"
namespace nw4r
{
namespace snd
{
struct SoundSystem
{
struct SoundSystemParam
{
namespace nw4r {
namespace snd {
struct SoundSystem {
struct SoundSystemParam {};
};
static inline f32 GetMasterVolume() {
return detail::AxManager::GetInstance().GetMasterVolume();
}
static inline f32 GetMasterVolume()
{
return detail::AxManager::GetInstance().GetMasterVolume();
}
static inline void PrepareReset() {
detail::AxManager::GetInstance().PrepareReset();
}
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
void InitSoundSystem(s32, s32);
void InitSoundSystem(const SoundSystemParam&, void *, u32);
static void ShutdownSoundSystem();
static void WaitForResetReady();
UNKWORD GetRequiredMemSize(const SoundSystemParam &);
};
}
}
#endif
#endif