SFXFMODVoice
Engine/source/sfx/fmod/sfxFMODVoice.h
Protected Types
enum
ESettings { SET_MinMaxDistance = BIT( 0 ) SET_Velocity = BIT( 1 ) SET_Transform = BIT( 2 ) SET_Volume = BIT( 3 ) SET_Pitch = BIT( 4 ) SET_Cone = BIT( 5 ) SET_Priority = BIT( 6 ) SET_Reverb = BIT( 7 ) }
Private Types
Parent
Public Friends
class
Protected Attributes
FMOD_CHANNEL *
FMOD_VECTOR
FMOD_MODE
FMOD_VECTOR
FMOD_REVERB_CHANNELPROPERTIES
FMOD_VECTOR
Protected Functions
SFXFMODVoice(SFXFMODDevice * device, SFXFMODBuffer * buffer)
bool
Public Static Functions
create(SFXFMODDevice * device, SFXFMODBuffer * buffer)
Public Functions
bool
Returns true if the voice is virtualized on the device.
setMinMaxDistance(F32 min, F32 max)
setPriority(F32 priority)
Set the priority of this voice.
setReverb(const SFXSoundReverbProperties & reverb)
Set the reverb properties for playback of this sound.
setTransform(const MatrixF & transform)
Sets the position and orientation for a 3d voice.
setVelocity(const VectorF & velocity)
Sets the velocity for a 3d voice.
Detailed Description
Protected Types
ESettings
Enumerator
- SET_MinMaxDistance = BIT( 0 )
- SET_Velocity = BIT( 1 )
- SET_Transform = BIT( 2 )
- SET_Volume = BIT( 3 )
- SET_Pitch = BIT( 4 )
- SET_Cone = BIT( 5 )
- SET_Priority = BIT( 6 )
- SET_Reverb = BIT( 7 )
Private Types
typedef SFXVoice Parent
Public Friends
Protected Attributes
FMOD_CHANNEL * mChannel
F32 mConeInnerAngle
F32 mConeOuterAngle
F32 mConeOuterVolume
SFXFMODDevice * mDevice
FMOD_VECTOR mDirection
F32 mFrequency
F32 mMaxDistance
F32 mMinDistance
FMOD_MODE mMode
FMOD_VECTOR mPosition
F32 mPriority
FMOD_REVERB_CHANNELPROPERTIES mReverb
BitSet32 mSetFlags
FMOD_VECTOR mVelocity
F32 mVolume
Protected Functions
SFXFMODVoice(SFXFMODDevice * device, SFXFMODBuffer * buffer)
_assignChannel()
_getBuffer()
_pause()
Reimplemented from: SFXVoice
_play()
Reimplemented from: SFXVoice
_seek(U32 sample)
Reimplemented from: SFXVoice
_status()
Reimplemented from: SFXVoice
_stop()
Reimplemented from: SFXVoice
_tell()
Reimplemented from: SFXVoice
Public Static Functions
create(SFXFMODDevice * device, SFXFMODBuffer * buffer)
Public Functions
~SFXFMODVoice()
isVirtual()
Reimplemented from: SFXVoice
play(bool looping)
Reimplemented from: SFXVoice
setCone(F32 innerAngle, F32 outerAngle, F32 outerVolume)
Reimplemented from: SFXVoice
setMinMaxDistance(F32 min, F32 max)
Reimplemented from: SFXVoice
setPitch(F32 pitch)
Reimplemented from: SFXVoice
setPriority(F32 priority)
Reimplemented from: SFXVoice
setReverb(const SFXSoundReverbProperties & reverb)
Reimplemented from: SFXVoice
setTransform(const MatrixF & transform)
Reimplemented from: SFXVoice
setVelocity(const VectorF & velocity)
Reimplemented from: SFXVoice
setVolume(F32 volume)
Reimplemented from: SFXVoice