ScummVM API documentation
Grim::EMISound Class Reference

Public Member Functions

 EMISound (int fps)
 
bool startVoice (const Common::String &soundName, int volume=static_cast< int >(Audio::Mixer::kMaxChannelVolume), int pan=64)
 
bool startSfx (const Common::String &soundName, int volume=static_cast< int >(Audio::Mixer::kMaxChannelVolume), int pan=64)
 
bool startSfxFrom (const Common::String &soundName, const Math::Vector3d &pos, int volume=static_cast< int >(Audio::Mixer::kMaxChannelVolume))
 
bool getSoundStatus (const Common::String &soundName)
 
void stopSound (const Common::String &soundName)
 
int32 getPosIn16msTicks (const Common::String &soundName)
 
void setVolume (const Common::String &soundName, int volume)
 
void setPan (const Common::String &soundName, int pan)
 
bool loadSfx (const Common::String &soundName, int &id)
 
void playLoadedSound (int id, bool looping)
 
void playLoadedSoundFrom (int id, const Math::Vector3d &pos, bool looping)
 
void setLoadedSoundLooping (int id, bool looping)
 
void stopLoadedSound (int id)
 
void freeLoadedSound (int id)
 
void setLoadedSoundVolume (int id, int volume)
 
void setLoadedSoundPan (int id, int pan)
 
void setLoadedSoundPosition (int id, const Math::Vector3d &pos)
 
bool getLoadedSoundStatus (int id)
 
int getLoadedSoundVolume (int id)
 
void setMusicState (int stateId)
 
void selectMusicSet (int setId)
 
bool stateHasLooped (int stateId)
 
bool stateHasEnded (int stateId)
 
void restoreState (SaveGame *savedState)
 
void saveState (SaveGame *savedState)
 
void pushStateToStack ()
 
void popStateFromStack ()
 
void flushStack ()
 
void pause (bool paused)
 
void flushTracks ()
 
uint32 getMsPos (int stateId)
 
void updateSoundPositions ()
 

The documentation for this class was generated from the following file: