LLAudioChannelFMOD Class Reference

#include <audioengine_fmod.h>

Inheritance diagram for LLAudioChannelFMOD:

Inheritance graph
[legend]
Collaboration diagram for LLAudioChannelFMOD:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLAudioChannelFMOD ()
virtual ~LLAudioChannelFMOD ()

Protected Member Functions

void play ()
void playSynced (LLAudioChannel *channelp)
void cleanup ()
BOOL isPlaying ()
BOOL updateBuffer ()
void update3DPosition ()
void updateLoop ()

Protected Attributes

int mChannelID
S32 mLastSamplePos

Detailed Description

Definition at line 102 of file audioengine_fmod.h.


Constructor & Destructor Documentation

LLAudioChannelFMOD::LLAudioChannelFMOD (  ) 

Definition at line 452 of file audioengine_fmod.cpp.

LLAudioChannelFMOD::~LLAudioChannelFMOD (  )  [virtual]

Definition at line 457 of file audioengine_fmod.cpp.

References cleanup().


Member Function Documentation

void LLAudioChannelFMOD::cleanup (  )  [protected, virtual]

Implements LLAudioChannel.

Definition at line 568 of file audioengine_fmod.cpp.

References llendl, llwarns, mChannelID, LLAudioChannel::mCurrentBufferp, and NULL.

Referenced by ~LLAudioChannelFMOD().

BOOL LLAudioChannelFMOD::isPlaying (  )  [protected, virtual]

Implements LLAudioChannel.

Definition at line 624 of file audioengine_fmod.cpp.

References FALSE, and mChannelID.

void LLAudioChannelFMOD::play (  )  [protected, virtual]

Implements LLAudioChannel.

Definition at line 587 of file audioengine_fmod.cpp.

References FALSE, LLAudioChannel::getSource(), llendl, llwarns, mChannelID, LLAudioSource::setPlayedOnce(), and TRUE.

Referenced by playSynced().

void LLAudioChannelFMOD::playSynced ( LLAudioChannel channelp  )  [protected, virtual]

Implements LLAudioChannel.

Definition at line 603 of file audioengine_fmod.cpp.

References LLAudioBuffer::getLength(), llendl, llwarns, mChannelID, LLAudioChannel::mCurrentBufferp, and play().

void LLAudioChannelFMOD::update3DPosition (  )  [protected, virtual]

Implements LLAudioChannel.

Definition at line 511 of file audioengine_fmod.cpp.

References FALSE, LLAudioSource::getPositionGlobal(), LLAudioSource::getVelocity(), LLAudioSource::isAmbient(), llendl, llwarns, mChannelID, LLAudioChannel::mCurrentBufferp, LLAudioChannel::mCurrentSourcep, LLVector3::mV, LLAudioBufferFMOD::set3DMode(), LLVector3::setVec(), and TRUE.

BOOL LLAudioChannelFMOD::updateBuffer (  )  [protected, virtual]

Reimplemented from LLAudioChannel.

Definition at line 463 of file audioengine_fmod.cpp.

References FALSE, LLAudioSource::getCurrentBuffer(), LLAudioSource::getGain(), LLAudioBufferFMOD::getSample(), LLAudioSource::isLoop(), llendl, llerrs, llround(), mChannelID, LLAudioChannel::mCurrentSourcep, TRUE, and LLAudioChannel::updateBuffer().

void LLAudioChannelFMOD::updateLoop (  )  [protected, virtual]

Implements LLAudioChannel.

Definition at line 547 of file audioengine_fmod.cpp.

References mChannelID, mLastSamplePos, LLAudioChannel::mLoopedThisFrame, and TRUE.


Member Data Documentation

int LLAudioChannelFMOD::mChannelID [protected]

Definition at line 119 of file audioengine_fmod.h.

Referenced by cleanup(), isPlaying(), play(), playSynced(), update3DPosition(), updateBuffer(), and updateLoop().

S32 LLAudioChannelFMOD::mLastSamplePos [protected]

Definition at line 120 of file audioengine_fmod.h.

Referenced by updateLoop().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:10 2010 for Second Life Viewer by  doxygen 1.4.7