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

Public Member Functions

void GetSupportedFormats (tStringList &alstFormats)
 
iSoundDataLoadSoundData (const tString &asName, const tString &asFilePath, const tString &asType, bool abStream, bool abLoopStream)
 
void UpdateSound (float afTimeStep)
 
void SetListenerAttributes (const cVector3f &avPos, const cVector3f &avVel, const cVector3f &avForward, const cVector3f &avUp)
 
void SetListenerPosition (const cVector3f &avPos)
 
void SetSetRolloffFactor (float afFactor)
 
void SetListenerAttenuation (bool abEnabled)
 
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)
 
void SetVolume (float afVolume)
 
void SetEnvVolume (float afEnvVolume)
 
iSoundEnvironmentLoadSoundEnvironment (const tString &asFilePath)
 
void SetSoundEnvironment (iSoundEnvironment *apSoundEnv)
 
void FadeSoundEnvironment (iSoundEnvironment *apSourceSoundEnv, iSoundEnvironment *apDestSoundEnv, float afT)
 
bool playChannel (cOpenALSoundChannel *channel)
 
void closeChannel (cOpenALSoundChannel *channel)
 
- Public Member Functions inherited from hpl::iLowLevelSound
const cMatrixfGetListenerMatrix ()
 
cVector3fGetListenerPosition ()
 
cVector3fGetListenerVelocity ()
 
cVector3fGetListenerForward ()
 
cVector3fGetListenerUp ()
 
bool GetListenerAttenuation ()
 
float GetVolume ()
 
bool IsHardwareAccelerated ()
 
bool IsEnvAudioAvailable ()
 
float GetEnvVolume ()
 
iSoundEnvironmentGetSoundEnvironmentFromFileName (const tString &asName)
 

Additional Inherited Members

- Protected Attributes inherited from hpl::iLowLevelSound
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()

void hpl::cLowLevelSoundOpenAL::GetSupportedFormats ( tStringList alstFormats)
virtual

Get the formats supported

Parameters
&alstFormats

Implements hpl::iLowLevelSound.


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