#include <null-mixer.h>
Public Member Functions | |
void | init () override |
void | update (uint8 callbackPeriod=10) |
void | suspendAudio () override |
int | resumeAudio () override |
bool | isNullDevice () const override |
Public Member Functions inherited from MixerManager | |
Audio::Mixer * | getMixer () |
Additional Inherited Members | |
Protected Attributes inherited from MixerManager | |
Audio::MixerImpl * | _mixer |
bool | _audioSuspended |
Audio mixer which in fact does not output audio.
It is used by events recorder since the recorder is intentionally turning sound off to avoid stuttering.
It returns correct output and shoots callbacks, so all OSystem users could work without modifications.
|
overridevirtual |
Initialize and setups the mixer
Implements MixerManager.
|
overridevirtual |
Pauses the audio system
Implements MixerManager.
|
overridevirtual |
Resumes the audio system
Implements MixerManager.
|
overridevirtual |
Returns true if this is a null device and won't output any audio.
Reimplemented from MixerManager.