ScummVM API documentation
hpl::iSoundChannel Class Referenceabstract
Inheritance diagram for hpl::iSoundChannel:
hpl::cOpenALSoundChannel

Public Member Functions

 iSoundChannel (iSoundData *apData, cSoundManager *apSoundManger)
 
virtual void Play ()=0
 
virtual void Stop ()=0
 
virtual void SetPaused (bool abX)=0
 
virtual void SetSpeed (float afSpeed)=0
 
virtual void SetVolume (float afVolume)=0
 
virtual void SetLooping (bool abLoop)=0
 
virtual void SetPan (float afPan)=0
 
virtual void Set3D (bool ab3D)=0
 
virtual void SetPriority (int alX)=0
 
virtual int GetPriority ()=0
 
void SetPriorityModifier (int alX)
 
int GetPriorityModifier ()
 
virtual void SetPositionRelative (bool abRelative)=0
 
virtual void SetPosition (const cVector3f &avPos)=0
 
void SetRelPosition (const cVector3f &avPos)
 
virtual void SetVelocity (const cVector3f &avVel)=0
 
virtual void SetMinDistance (float fMin)=0
 
virtual void SetMaxDistance (float fMax)=0
 
virtual bool IsPlaying ()=0
 
virtual bool IsBufferUnderrun ()=0
 
virtual double GetElapsedTime ()=0
 
virtual double GetTotalTime ()=0
 
bool GetPaused ()
 
float GetSpeed ()
 
float GetVolume ()
 
bool GetLooping ()
 
float GetPan ()
 
bool Get3D ()
 
bool GetStopUsed ()
 
bool GetBlockable ()
 
void SetBlockable (bool abX)
 
void SetBlockVolumeMul (float afX)
 
float GetBlockVolumeMul ()
 
bool GetPositionRelative ()
 
const cVector3fGetRelPosition ()
 
const cVector3fGetPosition ()
 
const cVector3fGetVelocity ()
 
float GetMinDistance ()
 
float GetMaxDistance ()
 
iSoundChannelCallbackGetCallBack ()
 
void SetCallBack (iSoundChannelCallback *apCallback)
 
int GetId ()
 
void SetId (int alX)
 
iSoundDataGetData ()
 
virtual void SetAffectedByEnv (bool abAffected)
 
virtual void SetFiltering (bool abEnabled, int alFlags)=0
 
virtual void SetFilterGain (float afGain)=0
 
virtual void SetFilterGainHF (float afGainHF)=0
 

Protected Attributes

iSoundDatampData
 
cSoundManagermpSoundManger
 
bool mbLooping
 
bool mbPaused
 
bool mbPositionRelative
 
bool mb3D
 
float mfSpeed
 
float mfVolume
 
float mfPan
 
float mfMaxDistance
 
float mfMinDistance
 
cVector3f mvVelocity
 
cVector3f mvPosition
 
cVector3f mvRelPosition
 
bool mbBlockable
 
float mfBlockVolumeMul
 
bool mbAffectedByEnv
 
int mlPriority
 
int mlPriorityModifier
 
bool mbStopUsed
 
int mlId
 
iSoundChannelCallbackmpCallback
 

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