ScummVM API documentation
Grim::Imuse Class Reference

Public Member Functions

 Imuse (int fps, bool demo)
 
bool startSound (const char *soundName, int volGroupId, int hookId, int volume, int pan, int priority, Track *otherTrack)
 
bool startVoice (const char *soundName, int volume=127, int pan=64)
 
void startMusic (const char *soundName, int hookId, int volume, int pan)
 
void startMusicWithOtherPos (const char *soundName, int hookId, int volume, int pan, Track *otherTrack)
 
void startSfx (const char *soundName, int priority=127)
 
void restoreState (SaveGame *savedState)
 
void saveState (SaveGame *savedState)
 
void resetState ()
 
TrackfindTrack (const char *soundName)
 
void setPriority (const char *soundName, int priority)
 
void setVolume (const char *soundName, int volume)
 
int getVolume (const char *soundName)
 
void setPan (const char *soundName, int pan)
 
void setFadePan (const char *soundName, int destPan, int duration)
 
void setFadeVolume (const char *soundName, int destVolume, int duration)
 
void setHookId (const char *soundName, int hookId)
 
int getCountPlayedTracks (const char *soundName)
 
void stopSound (const char *soundName)
 
void stopAllSounds ()
 
void pause (bool pause)
 
void setMusicState (int stateId)
 
int setMusicSequence (int seqId)
 
void refreshScripts ()
 
void flushTracks ()
 
bool isVoicePlaying ()
 
char * getCurMusicSoundName ()
 
int getCurMusicPan ()
 
int getCurMusicVol ()
 
bool getSoundStatus (const char *soundName)
 
int32 getPosIn16msTicks (const char *soundName)
 

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