SFXFMODVoice

Engine/source/sfx/fmod/sfxFMODVoice.h

More...

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

Protected Attributes

Protected Functions

Pause playback on the device.

Start playback on the device.

_seek(U32 sample)

Set the playback cursor on the device.

Return the current playback status (playing, paused, or stopped).

Stop playback on the device.

Get the playback cursor on the device.

Public Static Functions

Public Functions

bool

Returns true if the voice is virtualized on the device.

play(bool looping)

Starts playback from the current position.

setCone(F32 innerAngle, F32 outerAngle, F32 outerVolume)

Set sound cone of a 3D sound.

setPitch(F32 pitch)

Sets the pitch scale.

setPriority(F32 priority)

Set the priority of this voice.

Set the reverb properties for playback of this sound.

setTransform(const MatrixF & transform)

Sets the position and orientation for a 3d voice.

Sets the velocity for a 3d voice.

setVolume(F32 volume)

Sets the volume.

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