SFXFMODDevice

Engine/source/sfx/fmod/sfxFMODDevice.h

More...

Console Variables

Current core FMOD memory usage in bytes.

Current FMOD Event DLL memory usage in bytes.

Current number of SFXFMODEventSource instances.

Public Types

Parent 

Public Friends

Protected Attributes

Protected Static Attributes

Public Static Attributes

FMOD_EVENTSYSTEM *
FMOD_SYSTEM *

Public Functions

SFXFMODDevice(SFXProvider * provider, FModFNTable * fmodFnTbl, int deviceIdx, String name)
createBuffer(const String & fileName, SFXDescription * description)

Create a sound buffer directly for a file.

Tries to create a new sound buffer.

createVoice(bool is3D, SFXBuffer * buffer)

Tries to create a new voice.

FMOD_MODE

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 number of concurrent listeners on the device.

Set the global reverb environment.

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

Called from SFXSystem to do any updates the device may need to make.

Protected Functions

bool

Public Static Functions

Detailed Description

Console Variables

U32 smStatMemUsageCore 

Current core FMOD memory usage in bytes.

U32 smStatMemUsageEvents 

Current FMOD Event DLL memory usage in bytes.

U32 smStatNumEventSources 

Current number of SFXFMODEventSource instances.

bool smPrefDisableSoftware 
bool smPrefUseSoftwareOcclusion 
bool smPrefUseSoftwareHRTF 
bool smPrefEnableProfile 
bool smPrefGeometryUseClosest 
const char * smPrefDSoundHRTF 
const char * smPrefPluginPath 

Public Types

typedef SFXDevice Parent 

Public Friends

Protected Attributes

FMOD_MODE m3drolloffmode 
int mDeviceIndex 
SFXFMODPlugin mPlugin 

The FMOD SFXSystemPlugin instance.

Protected Static Attributes

SFXFMODDevice * smInstance 

Public Static Attributes

FMOD_EVENTSYSTEM * smEventSystem 
FModFNTable * smFunc 
FMOD_SYSTEM * smSystem 

Public Functions

SFXFMODDevice()

SFXFMODDevice(SFXProvider * provider, FModFNTable * fmodFnTbl, int deviceIdx, String name)

~SFXFMODDevice()

createBuffer(const String & fileName, SFXDescription * description)

Reimplemented from: SFXDevice

createBuffer(const ThreadSafeRef< SFXStream > & stream, SFXDescription * description)

Reimplemented from: SFXDevice

createVoice(bool is3D, SFXBuffer * buffer)

Reimplemented from: SFXDevice

get3dRollOffMode()

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

setNumListeners(U32 num)

Reimplemented from: SFXDevice

setReverb(const SFXReverbProperties & reverb)

Reimplemented from: SFXDevice

setRolloffFactor(F32 factor)

Reimplemented from: SFXDevice

update()

Reimplemented from: SFXDevice

updateMemUsageStats()

Protected Functions

_init()

Public Static Functions

instance()