mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 23:48:12 -05:00
29 lines
625 B
C++
29 lines
625 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 Destroy(MxBool p_fromDestructor);
|
|
|
|
static MxS32 g_unkCount;
|
|
|
|
protected:
|
|
void Init();
|
|
|
|
MxS32 m_volume; // 0x2c
|
|
};
|
|
|
|
#endif // MXAUDIOMANAGER_H
|