Isle
Loading...
Searching...
No Matches
mxaudiomanager.h
Go to the documentation of this file.
1#ifndef MXAUDIOMANAGER_H
2#define MXAUDIOMANAGER_H
3
4#include "decomp.h"
5#include "mxmediamanager.h"
6
7// VTABLE: LEGO1 0x100dc6e0
8// SIZE 0x30
9
15public:
20
24 ~MxAudioManager() override;
25
31 MxResult Create() override; // vtable+14
32
37 void Destroy() override; // vtable+18
38
44 virtual MxS32 GetVolume() { return m_volume; } // vtable+28
45
51 virtual void SetVolume(MxS32 p_volume); // vtable+2c
52
53 // SYNTHETIC: LEGO1 0x100b8d70
54 // MxAudioManager::`scalar deleting destructor'
55
56private:
62 void Destroy(MxBool p_fromDestructor);
63
68 static MxS32 g_count;
69
70protected:
75 void Init();
76
81 MxS32 m_volume; // 0x2c
82};
83
84#endif // MXAUDIOMANAGER_H
[AI] Audio subsystem manager for the LEGO Island engine, responsible for managing audio playback and ...
MxAudioManager()
[AI] Constructs the audio manager and initializes default volume.
MxResult Create() override
[AI] Initializes audio subsystem resources and registers an instance for global audio management.
virtual MxS32 GetVolume()
[AI] Gets the current global audio volume.
virtual void SetVolume(MxS32 p_volume)
[AI] Sets the current global audio volume.
MxS32 m_volume
[AI] Holds the current global audio volume for the game.
~MxAudioManager() override
[AI] Destructs the audio manager and handles cleanup of resources.
void Destroy() override
[AI] Tears down the audio subsystem instance and unregisters it from global management.
void Init()
[AI] Initializes audio manager state, setting default volume and other relevant fields.
[AI] Central class for managing the lifecycle and thread-safety of MxPresenter objects for audio/vide...
MxU8 MxBool
[AI]
Definition: mxtypes.h:124
MxLong MxResult
[AI]
Definition: mxtypes.h:106
signed int MxS32
[AI]
Definition: mxtypes.h:38