ScummVM API documentation
hpl::iLowLevelSound Class Referenceabstract
Inheritance diagram for hpl::iLowLevelSound:
hpl::cLowLevelSoundOpenAL

Public Member Functions

virtual void GetSupportedFormats (tStringList &alstFormats)=0
 
virtual iSoundDataLoadSoundData (const tString &asName, const tString &asFilePath, const tString &asType, bool abStream, bool abLoopStream)=0
 
virtual void UpdateSound (float afTimeStep)=0
 
virtual void SetListenerAttributes (const cVector3f &avPos, const cVector3f &avVel, const cVector3f &avForward, const cVector3f &avUp)=0
 
virtual void SetListenerPosition (const cVector3f &avPos)=0
 
const cMatrixfGetListenerMatrix ()
 
virtual void SetListenerAttenuation (bool abEnabled)=0
 
virtual void SetSetRolloffFactor (float afFactor)=0
 
virtual void SetVolume (float afVolume)=0
 
cVector3fGetListenerPosition ()
 
cVector3fGetListenerVelocity ()
 
cVector3fGetListenerForward ()
 
cVector3fGetListenerUp ()
 
bool GetListenerAttenuation ()
 
float GetVolume ()
 
virtual void Init (bool abUseHardware, bool abForceGeneric, bool abUseEnvAudio, int alMaxChannels, int alStreamUpdateFreq, bool abUseThreading, bool abUseVoiceManagement, int alMaxMonoSourceHint, int alMaxStereoSourceHint, int alStreamingBufferSize, int alStreamingBufferCount, bool abEnableLowLevelLog, tString asDeviceName)=0
 
bool IsHardwareAccelerated ()
 
bool IsEnvAudioAvailable ()
 
virtual void SetEnvVolume (float afVolume)=0
 
float GetEnvVolume ()
 
virtual iSoundEnvironmentLoadSoundEnvironment (const tString &asFilePath)=0
 
virtual void SetSoundEnvironment (iSoundEnvironment *apSoundEnv)=0
 
virtual void FadeSoundEnvironment (iSoundEnvironment *apSourceSoundEnv, iSoundEnvironment *apDestSoundEnv, float afT)=0
 
iSoundEnvironmentGetSoundEnvironmentFromFileName (const tString &asName)
 

Protected Attributes

float mfVolume
 
float mfEnvVolume
 
bool mbListenerAttenuation
 
bool mbHardwareAcc
 
bool mbEnvAudioEnabled
 
cVector3f mvListenerUp
 
cVector3f mvListenerForward
 
cVector3f mvListenerRight
 
cVector3f mvListenerPosition
 
cVector3f mvListenerVelocity
 
cMatrixf m_mtxListener
 
tSoundEnvList mlstSoundEnv
 

Member Function Documentation

◆ GetSupportedFormats()

virtual void hpl::iLowLevelSound::GetSupportedFormats ( tStringList alstFormats)
pure virtual

Get the formats supported

Parameters
&alstFormats

Implemented in hpl::cLowLevelSoundOpenAL.


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