#include <player_ad.h>
Sound output for v3/v4 AdLib data.
◆ setMusicVolume()
void Scumm::Player_AD::setMusicVolume |
( |
int |
vol | ) |
|
|
overridevirtual |
Set the output volume for music. Also used, if the inheriting class doesn't distinguish between music and sfx.
- Parameters
-
Implements Scumm::MusicEngine.
◆ startSound()
void Scumm::Player_AD::startSound |
( |
int |
sound | ) |
|
|
overridevirtual |
◆ stopSound()
void Scumm::Player_AD::stopSound |
( |
int |
sound | ) |
|
|
overridevirtual |
◆ stopAllSounds()
void Scumm::Player_AD::stopAllSounds |
( |
| ) |
|
|
overridevirtual |
◆ getMusicTimer()
int Scumm::Player_AD::getMusicTimer |
( |
| ) |
|
|
overridevirtual |
Get the value of the music timer. Used for synchronising scripts with the music/sound.
- Returns
- the music timer
Reimplemented from Scumm::MusicEngine.
◆ getSoundStatus()
int Scumm::Player_AD::getSoundStatus |
( |
int |
sound | ) |
const |
|
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.
- Parameters
-
sound | the sound to for which we want the status |
- Returns
- the status of the specified sound
Implements Scumm::MusicEngine.
◆ saveLoadWithSerializer()
The documentation for this class was generated from the following file: