|
|
static void | timerCallback (void *data) |
| |
|
| enum | DriverType {
SOUND_ADLIB
, SOUND_MT32
, SOUND_GM
, SOUND_PCSPEAKER
,
SOUND_PAS
} |
| |
|
|
static const uint32 | UPDATE_DELTA |
| |
◆ loadDriver()
| virtual void MADS::SoundManager::loadDriver |
( |
int |
sectionNum | ) |
|
|
protectedpure virtual |
◆ validate()
| virtual void MADS::SoundManager::validate |
( |
| ) |
|
|
pure virtual |
◆ init()
| void MADS::SoundManager::init |
( |
int |
sectionNumber | ) |
|
Initializes the sound driver for a given game section
◆ isLoaded()
| bool MADS::SoundManager::isLoaded |
( |
| ) |
const |
|
inline |
Returns true if a driver is loaded
◆ isReady()
| bool MADS::SoundManager::isReady |
( |
| ) |
|
Sound manager is ready to start sound playback. This will return false while the MT-32 driver is sending SysEx messages to the unit. Do not start sound playback while this returns false.
◆ isDriverActive()
| bool MADS::SoundManager::isDriverActive |
( |
| ) |
|
Returns whether the current driver reports an active sound.
◆ usesPCSpeaker()
| bool MADS::SoundManager::usesPCSpeaker |
( |
| ) |
const |
|
inline |
Returns whether the selected driver family uses PC speaker data.
◆ closeDriver()
| void MADS::SoundManager::closeDriver |
( |
| ) |
|
Stop any currently active sound and remove the driver
◆ removeDriver()
| void MADS::SoundManager::removeDriver |
( |
| ) |
|
◆ pauseNewCommands()
| void MADS::SoundManager::pauseNewCommands |
( |
| ) |
|
Temporarily pause the playback of any new sound commands
◆ startQueuedCommands()
| virtual void MADS::SoundManager::startQueuedCommands |
( |
| ) |
|
|
virtual |
◆ syncSoundSettings()
| void MADS::SoundManager::syncSoundSettings |
( |
| ) |
|
Applies sound settings from the ScummVM configuration manager.
◆ command()
| int MADS::SoundManager::command |
( |
int |
commandId, |
|
|
int |
param = 0 |
|
) |
| |
Executes a command on the sound driver
- Parameters
-
| commandid | Command Id to execute |
| param | Optional paramater specific to a few commands |
◆ stop()
| void MADS::SoundManager::stop |
( |
| ) |
|
Stops any currently playing sound
◆ pause()
| void MADS::SoundManager::pause |
( |
bool |
pause | ) |
|
Pauses or unpauses playback.
◆ noise()
| void MADS::SoundManager::noise |
( |
| ) |
|
Noise Some sort of random noise generation?
The documentation for this class was generated from the following file: