ScummVM API documentation
MaxModMixerManager Class Reference

#include <maxmod-mixer.h>

Inheritance diagram for MaxModMixerManager:
MixerManager

Public Member Functions

 MaxModMixerManager (int freq, int bufSize)
 
virtual void init ()
 
virtual void suspendAudio ()
 
virtual int resumeAudio ()
 
void updateAudio ()
 
- Public Member Functions inherited from MixerManager
Audio::MixergetMixer ()
 
virtual bool isNullDevice () const
 

Protected Attributes

mm_stream _stream
 
int _freq
 
int _bufSize
 
- Protected Attributes inherited from MixerManager
Audio::MixerImpl_mixer
 
bool _audioSuspended
 

Detailed Description

MaxMod mixer manager. It wraps the actual implementation of the Audio:Mixer used by the engine, and sets up MaxMod and the callback for the audio mixer implementation.

Member Function Documentation

◆ init()

virtual void MaxModMixerManager::init ( )
virtual

Initialize and setups the mixer

Implements MixerManager.

◆ suspendAudio()

virtual void MaxModMixerManager::suspendAudio ( )
virtual

Pauses the audio system

Implements MixerManager.

◆ resumeAudio()

virtual int MaxModMixerManager::resumeAudio ( )
virtual

Resumes the audio system

Implements MixerManager.

◆ updateAudio()

void MaxModMixerManager::updateAudio ( )

Updates the audio system


The documentation for this class was generated from the following file: