SFXNullVoice

Engine/source/sfx/null/sfxNullVoice.h

More...

Public Types

Parent 

Protected Types

Public Friends

Protected Attributes

The virtual play timer.

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 Functions

play(bool looping)

Starts playback from the current position.

setCone(F32 innerAngle, F32 outerAngle, F32 outerVolume)

Set sound cone of a 3D sound.

Sets the minimum and maximum distances for 3d falloff.

setPitch(F32 pitch)

Sets the pitch scale.

setPosition(U32 sample)

Sets the playback position to the given sample count.

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

Public Types

typedef SFXVoice Parent 

Protected Types

typedef GenericTimeSource< VirtualMSTimer > TimeSource 

Public Friends

Protected Attributes

bool mIsLooping 
TimeSource mPlayTimer 

The virtual play timer.

Protected Functions

SFXNullVoice(SFXNullBuffer * buffer)

_getPlayTime()

_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 Functions

~SFXNullVoice()

getStatus()

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

setPosition(U32 sample)

Reimplemented from: SFXVoice

setTransform(const MatrixF & transform)

Reimplemented from: SFXVoice

setVelocity(const VectorF & velocity)

Reimplemented from: SFXVoice

setVolume(F32 volume)

Reimplemented from: SFXVoice