SFXALDevice

Engine/source/sfx/openal/sfxALDevice.h

More...

Public Types

Parent 

Public Friends

class

Public Functions

SFXALDevice(SFXProvider * provider, const OPENALFNTABLE & openal, String name, bool useHardware, S32 maxBuffers)

Tries to create a new sound buffer.

createVoice(bool is3D, SFXBuffer * buffer)

Tries to create a new voice.

Reset the global reverb environment to its default.

Set the rolloff curve to be used by distance attenuation of 3D sounds.

Set the scale factor to use for doppler effects on 3D sounds.

Set the properties of the given listener.

Set the rolloff scale factor for distance attenuation of 3D sounds.

Protected Functions

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

Protected Functions

_setRolloffFactor(F32 factor)