mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-29 19:05:34 -05:00
e767d6524e
* added MxMIDIManager * implement MxMIDIManager implement MxMIDIManager implement MxAudioManager::GetVolume implement MxAudioManager::SetVolume * added override + small changes
30 lines
611 B
C++
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
|