SFXFMODDevice
Engine/source/sfx/fmod/sfxFMODDevice.h
Console Variables
Current core FMOD memory usage in bytes.
Current FMOD Event DLL memory usage in bytes.
Current number of SFXFMODEventSource instances.
bool
const char *
const char *
Public Types
Parent
Public Friends
class
class
Protected Attributes
Protected Static Attributes
Public Static Attributes
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.
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.
FMOD_MODE
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.
setNumListeners(U32 num)
Set the number of concurrent listeners on the device.
setReverb(const SFXReverbProperties & reverb)
Set the global reverb environment.
setRolloffFactor(F32 factor)
Set the rolloff scale factor for distance attenuation of 3D sounds.
Protected Functions
bool
_init()
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()