6MxS32 MxAudioManager::g_count = 0;
34 if (!p_fromDestructor) {
[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 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.
void Enter()
[AI] Acquires/gains entry to the critical section or mutex, blocking if not available.
void Leave()
[AI] Releases/leaves the critical section or mutex.
#define DECOMP_SIZE_ASSERT(T, S)
#define FAILURE
[AI] Used to indicate a failed operation in result codes.
#define SUCCESS
[AI] Used to indicate a successful operation in result codes.