ScummVM API documentation
hpl::cSoundHandler Class Reference

Public Member Functions

 cSoundHandler (iLowLevelSound *apLowLevelSound, cResources *apResources)
 
iSoundChannelPlay (const tString &asName, bool abLoop, float afVolume, const cVector3f &avPos, float afMinDist, float afMaxDist, eSoundDest mType, bool abRelative, bool ab3D=false, int alPriorityModifier=0, eSoundDest aEffectType=eSoundDest_World)
 
iSoundChannelPlay3D (const tString &asName, bool abLoop, float afVolume, const cVector3f &avPos, float afMinDist, float afMaxDist, eSoundDest mType, bool abRelative, int alPriorityModifier=0, eSoundDest aEffectType=eSoundDest_World)
 
iSoundChannelPlayStream (const tString &asFileName, bool abLoop, float afVolume, bool ab3D=false, eSoundDest aEffectType=eSoundDest_Gui)
 
iSoundChannelPlayGui (const tString &asName, bool abLoop, float afVolume, const cVector3f &avPos=cVector3f(0, 0, 1), eSoundDest aEffectType=eSoundDest_Gui)
 
void SetSilent (bool abX)
 
bool GetSilent ()
 
bool Stop (const tString &asName)
 
bool StopAllExcept (const tString &asName)
 
void StopAll (tFlag mTypes)
 
void PauseAll (tFlag mTypes)
 
void ResumeAll (tFlag mTypes)
 
bool IsPlaying (const tString &asName)
 
bool IsValid (iSoundChannel *apChannel)
 
bool IsValidId (iSoundChannel *apChannel, int alId)
 
void Update (float afTimeStep)
 
void SetSpeed (float afSpeed, float afRate, tFlag mTypes)
 
void SetVolume (float afVolume, float afRate, tFlag mTypes)
 
float GetVolume ()
 
void SetWorld3D (cWorld3D *apWorld3D)
 
cSoundEntryGetEntryFromSound (iSoundChannel *apSound)
 
iSoundChannelCreateChannel (const tString &asName, int alPriority)
 
tSoundEntryListGetWorldEntryList ()
 
tSoundEntryListGetGuiEntryList ()
 

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