2023-09-19 10:42:39 -04:00
|
|
|
#ifndef MXAUDIOMANAGER_H
|
|
|
|
#define MXAUDIOMANAGER_H
|
|
|
|
|
|
|
|
#include "decomp.h"
|
|
|
|
#include "mxmediamanager.h"
|
|
|
|
|
|
|
|
// VTABLE 0x100dc6e0
|
|
|
|
class MxAudioManager : public MxMediaManager
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
MxAudioManager();
|
|
|
|
virtual ~MxAudioManager() override;
|
|
|
|
|
2023-10-05 16:06:11 -04:00
|
|
|
virtual MxResult InitPresenters() override; // vtable+14
|
|
|
|
virtual void Destroy() override; // vtable+18
|
|
|
|
virtual MxS32 GetVolume(); // vtable+28
|
|
|
|
virtual void SetVolume(MxS32 p_volume); // vtable+2c
|
2023-09-19 10:42:39 -04:00
|
|
|
|
|
|
|
private:
|
2023-10-05 16:06:11 -04:00
|
|
|
void LockedReinitialize(MxBool p_skipDestroy);
|
2023-09-19 10:42:39 -04:00
|
|
|
|
|
|
|
static MxS32 g_unkCount;
|
|
|
|
|
|
|
|
protected:
|
|
|
|
void Init();
|
|
|
|
|
2023-10-05 16:06:11 -04:00
|
|
|
MxS32 m_volume; // 0x2c
|
2023-09-19 10:42:39 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXAUDIOMANAGER_H
|