#include <player_v2a.h>
Public Member Functions | |
| Player_V2A (ScummEngine *scumm, Audio::Mixer *mixer) | |
| void | setMusicVolume (int vol) override |
| void | startSound (int sound) override |
| void | stopSound (int sound) override |
| void | stopAllSounds () override |
| int | getMusicTimer () override |
| int | getSoundStatus (int sound) const override |
Public Member Functions inherited from Scumm::MusicEngine | |
| virtual void | setMusicVolume (int vol)=0 |
| virtual void | setSfxVolume (int vol) |
| virtual void | startSound (int sound)=0 |
| virtual void | startSoundWithTrackID (int sound, int track) |
| virtual void | stopSound (int sound)=0 |
| virtual void | stopAllSounds ()=0 |
| virtual int | getSoundStatus (int sound) const =0 |
| virtual int | getMusicTimer () |
| virtual void | setQuality (int qual) |
| virtual void | toggleMusic (bool enable) |
| virtual void | toggleSoundEffects (bool enable) |
| void | saveLoadWithSerializer (Common::Serializer &ser) override |
| virtual void | restoreAfterLoad () |
| virtual void | saveLoadWithSerializer (Serializer &ser)=0 |
Scumm V2 Amiga sound/music driver.
|
overridevirtual |
Set the output volume for music. Also used, if the inheriting class doesn't distinguish between music and sfx.
| vol | the new output volume |
Implements Scumm::MusicEngine.
|
overridevirtual |
Start playing the sound with the given id.
| sound | the sound to start |
Implements Scumm::MusicEngine.
|
overridevirtual |
Stop playing the sound with the given id.
| sound | the sound to stop |
Implements Scumm::MusicEngine.
|
overridevirtual |
Start playing all currently playing sounds.
Implements Scumm::MusicEngine.
|
overridevirtual |
Get the value of the music timer. Used for synchronising scripts with the music/sound.
Reimplemented from Scumm::MusicEngine.
|
overridevirtual |
Query the status of the sound with the given id. Usually this is just a boolean telling us whether the sound is playing or not.
| sound | the sound to for which we want the status |
Implements Scumm::MusicEngine.