#include <player_v4a.h>
Public Member Functions | |
| Player_V4A (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 |
| void | saveLoadWithSerializer (Common::Serializer &ser) override |
| void | restoreAfterLoad () 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 V4 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.
|
overridevirtual |
Save or load the music state.
Reimplemented from Scumm::MusicEngine.
|
overridevirtual |
Performs necessary post-load operations on the sound engine, like restarting of music tracks or looping pcm sounds. Some targets get this done via scripts but others don't. Currently, this is used for FM-Towns and Mac.
Reimplemented from Scumm::MusicEngine.