Public Member Functions | |
void | dispatch () |
void | listenerSynchronize (Serializer &s) override |
virtual void | postInit () |
void | syncSounds () |
void | saveNotifierProc (bool postFlag) |
void | loadNotifierProc (bool postFlag) |
void | installConfigDrivers () |
Common::List< SoundDriverEntry > & | buildDriverList (bool detectFlag) |
Common::List< SoundDriverEntry > & | getDriverList (bool detectFlag) |
void | dumpDriverList () |
void | installDriver (int driverNum) |
bool | isInstalled (int driverNum) const |
void | unInstallDriver (int driverNum) |
void | checkResVersion (const byte *soundData) |
int | determineGroup (const byte *soundData) |
int | extractPriority (const byte *soundData) |
int | extractLoop (const byte *soundData) |
bool | isOnPlayList (Sound *sound) |
void | extractTrackInfo (trackInfoStruct *trackInfo, const byte *soundData, int groupNum) |
void | addToSoundList (Sound *sound) |
void | removeFromSoundList (Sound *sound) |
void | addToPlayList (Sound *sound) |
void | removeFromPlayList (Sound *sound) |
void | rethinkVoiceTypes () |
void | updateSoundVol (Sound *sound) |
void | updateSoundPri (Sound *sound) |
void | updateSoundLoop (Sound *sound) |
void | setMasterVol (int volume) |
int | getMasterVol () const |
void | loadSound (int soundNum, bool showErrors) |
void | unloadSound (int soundNum) |
bool | isFading () |
Static Public Member Functions | |
static void | saveNotifier (bool postFlag) |
static void | loadNotifier (bool postFlag) |
static SoundManager & | sfManager () |
static void | sfTerminate () |
static int | sfDetermineGroup (const byte *soundData) |
static void | sfAddToPlayList (Sound *sound) |
static void | sfRemoveFromPlayList (Sound *sound) |
static bool | sfIsOnPlayList (Sound *sound) |
static void | sfRethinkSoundDrivers () |
static void | sfRethinkVoiceTypes () |
static void | sfUpdateVolume (Sound *sound) |
static void | sfDereferenceAll () |
static void | sfUpdatePriority (Sound *sound) |
static void | sfUpdateLoop (Sound *sound) |
static void | sfSetMasterVol (int volume) |
static void | sfExtractTrackInfo (trackInfoStruct *trackInfo, const byte *soundData, int groupNum) |
static void | sfExtractGroupMask () |
static bool | sfInstallDriver (SoundDriver *driver) |
static void | sfUnInstallDriver (SoundDriver *driver) |
static void | sfInstallPatchBank (SoundDriver *driver, const byte *bankData) |
static void | sfDoAddToPlayList (Sound *sound) |
static bool | sfDoRemoveFromPlayList (Sound *sound) |
static void | sfDoUpdateVolume (Sound *sound) |
static void | sfSoundServer (void *) |
static void | sfProcessFading () |
static void | sfUpdateVoiceStructs () |
static void | sfUpdateVoiceStructs2 () |
Public Attributes | |
bool | _sndmgrReady |
int | _ourSndResVersion |
int | _ourDrvResVersion |
SynchronizedList< Sound * > | _playList |
Common::List< SoundDriver * > | _installedDrivers |
VoiceTypeStruct * | _voiceTypeStructPtrs [16] |
uint32 | _groupsAvail |
int | _masterVol |
int | _newVolume |
Common::Mutex | _serverDisabledMutex |
Common::Mutex | _serverSuspendedMutex |
bool | _driversDetected |
SynchronizedList< Sound * > | _soundList |
Common::List< SoundDriverEntry > | _availableDrivers |
bool | _needToRethink |
bool | _soTimeIndexFlag |