2023-09-19 10:42:39 -04:00
|
|
|
#ifndef MXAUDIOMANAGER_H
|
|
|
|
#define MXAUDIOMANAGER_H
|
|
|
|
|
|
|
|
#include "decomp.h"
|
|
|
|
#include "mxmediamanager.h"
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100dc6e0
|
2024-01-11 10:02:55 -05:00
|
|
|
// SIZE 0x30
|
2023-10-24 19:38:27 -04:00
|
|
|
class MxAudioManager : public MxMediaManager {
|
2023-09-19 10:42:39 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
MxAudioManager();
|
2024-02-01 15:42:10 -05:00
|
|
|
~MxAudioManager() override;
|
2023-09-19 10:42:39 -04:00
|
|
|
|
2024-06-07 16:13:42 -04:00
|
|
|
MxResult Create() override; // vtable+14
|
|
|
|
void Destroy() override; // vtable+18
|
2024-01-11 10:02:55 -05:00
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x10029910
|
2024-06-07 16:13:42 -04:00
|
|
|
virtual MxS32 GetVolume() { return m_volume; } // vtable+28
|
2024-01-11 10:02:55 -05:00
|
|
|
|
|
|
|
virtual void SetVolume(MxS32 p_volume); // vtable+2c
|
2023-09-19 10:42:39 -04:00
|
|
|
|
2024-01-18 08:34:14 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x100b8d70
|
|
|
|
// MxAudioManager::`scalar deleting destructor'
|
|
|
|
|
2023-09-19 10:42:39 -04:00
|
|
|
private:
|
2023-10-24 19:38:27 -04:00
|
|
|
void Destroy(MxBool p_fromDestructor);
|
2023-09-19 10:42:39 -04:00
|
|
|
|
2023-12-13 05:48:14 -05:00
|
|
|
static MxS32 g_count;
|
2023-09-19 10:42:39 -04:00
|
|
|
|
|
|
|
protected:
|
2023-10-24 19:38:27 -04:00
|
|
|
void Init();
|
2023-09-19 10:42:39 -04:00
|
|
|
|
2023-10-24 19:38:27 -04:00
|
|
|
MxS32 m_volume; // 0x2c
|
2023-09-19 10:42:39 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXAUDIOMANAGER_H
|