SFXALDevice
Engine/source/sfx/openal/sfxALDevice.h
Public Types
Parent
Public Friends
class
Protected Attributes
ALCcontext *
ALCdevice *
Public Functions
SFXALDevice(SFXProvider * provider, const OPENALFNTABLE & openal, String name, bool useHardware, S32 maxBuffers)
createBuffer(const ThreadSafeRef< SFXStream > & stream, SFXDescription * description)
Tries to create a new sound buffer.
SFXVoice *
createVoice(bool is3D, SFXBuffer * buffer)
Tries to create a new voice.
Reset the global reverb environment to its default.
setDistanceModel(SFXDistanceModel model)
Set the rolloff curve to be used by distance attenuation of 3D sounds.
setDopplerFactor(F32 factor)
Set the scale factor to use for doppler effects on 3D sounds.
setListener(U32 index, const SFXListenerProperties & listener)
Set the properties of the given listener.
setRolloffFactor(F32 factor)
Set the rolloff scale factor for distance attenuation of 3D sounds.
Protected Functions
_setRolloffFactor(F32 factor)
Detailed Description
Public Types
typedef SFXDevice Parent
Public Friends
Protected Attributes
ALCcontext * mContext
ALCdevice * mDevice
F32 mDistanceFactor
SFXDistanceModel mDistanceModel
OPENALFNTABLE mOpenAL
F32 mRolloffFactor
F32 mUserRolloffFactor
Public Functions
SFXALDevice(SFXProvider * provider, const OPENALFNTABLE & openal, String name, bool useHardware, S32 maxBuffers)
~SFXALDevice()
createBuffer(const ThreadSafeRef< SFXStream > & stream, SFXDescription * description)
Reimplemented from: SFXDevice
createVoice(bool is3D, SFXBuffer * buffer)
Reimplemented from: SFXDevice
resetReverb()
Reimplemented from: SFXDevice
setDistanceModel(SFXDistanceModel model)
Reimplemented from: SFXDevice
setDopplerFactor(F32 factor)
Reimplemented from: SFXDevice
setListener(U32 index, const SFXListenerProperties & listener)
Reimplemented from: SFXDevice
setRolloffFactor(F32 factor)
Reimplemented from: SFXDevice