ScummVM API documentation
Buried::SoundManager Class Reference

Public Member Functions

 SoundManager (BuriedEngine *vm)
 
bool startup ()
 
void shutDown ()
 
bool setAmbientSound (const Common::Path &fileName=Common::Path(), bool fade=false, byte finalVolumeLevel=64)
 
bool adjustAmbientSoundVolume (byte newVolumeLevel, bool fade, byte steps, uint32 fadeLength)
 
bool isAmbientSoundPlaying ()
 
bool setSecondaryAmbientSound (const Common::Path &fileName=Common::Path(), bool fade=false, byte finalVolumeLevel=64)
 
bool adjustSecondaryAmbientSoundVolume (byte newVolumeLevel, bool fade, byte steps, uint32 fadeLength)
 
uint32 getSecondaryAmbientPosition ()
 
bool restartSecondaryAmbientSound ()
 
bool playSynchronousAIComment (const Common::Path &fileName)
 
bool playAsynchronousAIComment (const Common::Path &fileName)
 
bool isAsynchronousAICommentPlaying ()
 
void stopAsynchronousAIComment ()
 
int playSoundEffect (const Common::Path &fileName, int volume=127, bool loop=false, bool oneShot=true)
 
bool playSynchronousSoundEffect (const Common::Path &fileName, int volume=127)
 
bool stopSoundEffect (int effectID)
 
bool isSoundEffectPlaying (int effectID)
 
bool adjustSoundEffectSoundVolume (int effectID, byte newVolumeLevel, bool fade, byte steps, uint32 fadeLength)
 
bool playInterfaceSound (const Common::Path &fileName)
 
bool stopInterfaceSound ()
 
bool isInterfaceSoundPlaying ()
 
bool startFootsteps (int footstepsID)
 
bool stopFootsteps ()
 
bool stop ()
 
void stopSound (int soundId)
 
bool restart ()
 
void pause (bool shouldPause)
 
void timerCallback ()
 

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