#include <maxmod-mixer.h>
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::Mixer * | getMixer () |
virtual bool | isNullDevice () const |
Protected Attributes | |
mm_stream | _stream |
int | _freq |
int | _bufSize |
Protected Attributes inherited from MixerManager | |
Audio::MixerImpl * | _mixer |
bool | _audioSuspended |
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.
|
virtual |
Initialize and setups the mixer
Implements MixerManager.
|
virtual |
Pauses the audio system
Implements MixerManager.
|
virtual |
Resumes the audio system
Implements MixerManager.
void MaxModMixerManager::updateAudio | ( | ) |
Updates the audio system