isle-portable/LEGO1/mxaudiomanager.h
vMidz e767d6524e
implement MxMIDIManager (#167)
* added MxMIDIManager

* implement MxMIDIManager

implement MxMIDIManager
implement MxAudioManager::GetVolume
implement MxAudioManager::SetVolume

* added override + small changes
2023-10-05 16:06:11 -04:00

30 lines
611 B
C++

#ifndef MXAUDIOMANAGER_H
#define MXAUDIOMANAGER_H
#include "decomp.h"
#include "mxmediamanager.h"
// VTABLE 0x100dc6e0
class MxAudioManager : public MxMediaManager
{
public:
MxAudioManager();
virtual ~MxAudioManager() override;
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
private:
void LockedReinitialize(MxBool p_skipDestroy);
static MxS32 g_unkCount;
protected:
void Init();
MxS32 m_volume; // 0x2c
};
#endif // MXAUDIOMANAGER_H