ScummVM API documentation
Twp::AudioSystem Class Reference

Public Member Functions

int play (Common::SharedPtr< SoundDefinition > sndDef, Audio::Mixer::SoundType cat, int loopTimes=0, float fadeInTimeMs=0.f, float volume=1.f, int objId=0)
 
bool playing (int id) const
 
bool playing (Common::SharedPtr< SoundDefinition > soundDef) const
 
void fadeOut (int id, float fadeTime)
 
void stop (int id)
 
void setMasterVolume (float vol)
 
float getMasterVolume () const
 
void setVolume (int id, float vol)
 
int getElapsed (int id) const
 
int getDuration (int id) const
 
void update (float elapsed)
 

Public Attributes

Common::Array< Common::SharedPtr< SoundDefinition > > _soundDefs
 
AudioSlot _slots [NUM_AUDIO_SLOTS]
 
Common::SharedPtr< SoundDefinition_soundHover
 

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