SFXALVoice Class Reference

#include <sfxALVoice.h>

Inheritance diagram for SFXALVoice:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~SFXALVoice ()
void setPosition (U32 pos)
 SFXVoice.
void setMinMaxDistance (F32 min, F32 max)
 Sets the minimum and maximum distances for 3d falloff.
void play (bool looping)
 Starts playback from the current position.
void pause ()
 Pauses playback.
void stop ()
 Stops playback and moves the position to the start.
SFXStatus getStatus () const
void setVelocity (const VectorF &velocity)
 Sets the velocity for a 3d voice.
void setTransform (const MatrixF &transform)
 Sets the position and orientation for a 3d voice.
void setVolume (F32 volume)
 Sets the volume.
void setPitch (F32 pitch)
 Sets the pitch scale.
void setCone (F32 innerAngle, F32 outerAngle, F32 outerVolume)
 Set sound cone of a 3D sound.

Static Public Member Functions

static SFXALVoicecreate (SFXALBuffer *buffer)

Protected Member Functions

 SFXALVoice (const OPENALFNTABLE &oalft, SFXALBuffer *buffer, ALuint bufferName, ALuint sourceName)

Protected Attributes

ALuint mBufferName
ALuint mSourceName
const OPENALFNTABLEmOpenAL

Friends

class SFXALDevice

Constructor & Destructor Documentation

SFXALVoice::SFXALVoice ( const OPENALFNTABLE oalft,
SFXALBuffer buffer,
ALuint  bufferName,
ALuint  sourceName 
) [protected]

virtual SFXALVoice::~SFXALVoice (  )  [virtual]


Member Function Documentation

static SFXALVoice* SFXALVoice::create ( SFXALBuffer buffer  )  [static]

void SFXALVoice::setPosition ( U32  pos  )  [virtual]

SFXVoice.

Implements SFXVoice.

void SFXALVoice::setMinMaxDistance ( F32  min,
F32  max 
) [virtual]

Sets the minimum and maximum distances for 3d falloff.

Implements SFXVoice.

void SFXALVoice::play ( bool  looping  )  [virtual]

Starts playback from the current position.

Implements SFXVoice.

void SFXALVoice::pause (  )  [virtual]

Pauses playback.

Implements SFXVoice.

void SFXALVoice::stop (  )  [virtual]

Stops playback and moves the position to the start.

Implements SFXVoice.

SFXStatus SFXALVoice::getStatus (  )  const [virtual]

Implements SFXVoice.

void SFXALVoice::setVelocity ( const VectorF velocity  )  [virtual]

Sets the velocity for a 3d voice.

Implements SFXVoice.

void SFXALVoice::setTransform ( const MatrixF transform  )  [virtual]

Sets the position and orientation for a 3d voice.

Implements SFXVoice.

void SFXALVoice::setVolume ( F32  volume  )  [virtual]

Sets the volume.

Implements SFXVoice.

void SFXALVoice::setPitch ( F32  pitch  )  [virtual]

Sets the pitch scale.

Implements SFXVoice.

void SFXALVoice::setCone ( F32  innerAngle,
F32  outerAngle,
F32  outerVolume 
) [virtual]

Set sound cone of a 3D sound.

Implements SFXVoice.


Friends And Related Function Documentation

friend class SFXALDevice [friend]


Member Data Documentation

ALuint SFXALVoice::mBufferName [protected]

ALuint SFXALVoice::mSourceName [protected]

const OPENALFNTABLE& SFXALVoice::mOpenAL [protected]