ScummVM API documentation
AtariMixerManager Class Reference

#include <atari-mixer.h>

Inheritance diagram for AtariMixerManager:
MixerManager Common::EventObserver

Public Member Functions

void init () override
 
void update ()
 
void suspendAudio () override
 
int resumeAudio () override
 
bool notifyEvent (const Common::Event &event) override
 
- Public Member Functions inherited from MixerManager
virtual void init ()=0
 
Audio::Mixer * getMixer ()
 
virtual void suspendAudio ()=0
 
virtual int resumeAudio ()=0
 
virtual bool isNullDevice () const
 

Additional Inherited Members

- Protected Attributes inherited from MixerManager
Audio::MixerImpl * _mixer
 
bool _audioSuspended
 

Detailed Description

Atari XBIOS based audio mixer.

Member Function Documentation

◆ init()

void AtariMixerManager::init ( )
overridevirtual

Initialize and setups the mixer

Implements MixerManager.

◆ suspendAudio()

void AtariMixerManager::suspendAudio ( )
overridevirtual

Pauses the audio system

Implements MixerManager.

◆ resumeAudio()

int AtariMixerManager::resumeAudio ( )
overridevirtual

Resumes the audio system

Implements MixerManager.

◆ notifyEvent()

bool AtariMixerManager::notifyEvent ( const Common::Event &  event)
overridevirtual

Notify the observer of an incoming event.

An observer is supposed to 'eat' the event, with returning true, when it wants to prevent other observers from receiving the event. A usage example here is the keymapper: If it processes an Event, it should 'eat' it and create a new event, which the EventDispatcher will then catch.

Parameters
eventThe event that is incoming.
Return values
trueIf the event should not be passed to other observers, false otherwise.

Implements Common::EventObserver.


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