LLAudioChannel Class Reference

#include <audioengine.h>

Inheritance diagram for LLAudioChannel:

Inheritance graph
[legend]
Collaboration diagram for LLAudioChannel:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLAudioChannel ()
virtual ~LLAudioChannel ()
virtual void setSource (LLAudioSource *sourcep)
LLAudioSourcegetSource () const

Protected Member Functions

virtual void play ()=0
virtual void playSynced (LLAudioChannel *channelp)=0
virtual void cleanup ()=0
virtual BOOL isPlaying ()=0
void setWaiting (const BOOL waiting)
BOOL isWaiting () const
virtual BOOL updateBuffer ()
virtual void update3DPosition ()=0
virtual void updateLoop ()=0

Protected Attributes

LLAudioSourcemCurrentSourcep
LLAudioBuffermCurrentBufferp
BOOL mLoopedThisFrame
BOOL mWaiting

Friends

class LLAudioEngine
class LLAudioSource


Detailed Description

Definition at line 378 of file audioengine.h.


Constructor & Destructor Documentation

LLAudioChannel::LLAudioChannel (  ) 

Definition at line 1514 of file audioengine.cpp.

LLAudioChannel::~LLAudioChannel (  )  [virtual]

Definition at line 1523 of file audioengine.cpp.

References mCurrentBufferp, mCurrentSourcep, NULL, and LLAudioSource::setChannel().

Here is the call graph for this function:


Member Function Documentation

void LLAudioChannel::setSource ( LLAudioSource sourcep  )  [virtual]

Definition at line 1535 of file audioengine.cpp.

References cleanup(), FALSE, mCurrentSourcep, mWaiting, NULL, update3DPosition(), and updateBuffer().

Referenced by LLAudioEngine::idle(), LLAudioSource::play(), LLAudioSource::setupChannel(), and LLAudioSource::~LLAudioSource().

Here is the call graph for this function:

Here is the caller graph for this function:

LLAudioSource* LLAudioChannel::getSource (  )  const [inline]

Definition at line 385 of file audioengine.h.

References mCurrentSourcep.

Referenced by LLAudioEngine::getFreeChannel(), LLAudioChannelFMOD::play(), and LLAudioEngine::startNextTransfer().

Here is the caller graph for this function:

virtual void LLAudioChannel::play (  )  [protected, pure virtual]

Implemented in LLAudioChannelFMOD.

Referenced by LLAudioSource::addAudioData(), LLAudioEngine::idle(), and LLAudioSource::play().

Here is the caller graph for this function:

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

Implemented in LLAudioChannelFMOD.

Referenced by LLAudioEngine::idle().

Here is the caller graph for this function:

virtual void LLAudioChannel::cleanup (  )  [protected, pure virtual]

Implemented in LLAudioChannelFMOD.

Referenced by LLAudioEngine::getFreeChannel(), setSource(), and updateBuffer().

Here is the caller graph for this function:

virtual BOOL LLAudioChannel::isPlaying (  )  [protected, pure virtual]

Implemented in LLAudioChannelFMOD.

Referenced by LLAudioEngine::idle(), and LLAudioSource::isDone().

Here is the caller graph for this function:

void LLAudioChannel::setWaiting ( const BOOL  waiting  )  [inline, protected]

Definition at line 394 of file audioengine.h.

References mWaiting.

Referenced by LLAudioEngine::idle(), and LLAudioSource::play().

Here is the caller graph for this function:

BOOL LLAudioChannel::isWaiting (  )  const [inline, protected]

Definition at line 395 of file audioengine.h.

References mWaiting.

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

virtual void LLAudioChannel::update3DPosition (  )  [protected, pure virtual]

Implemented in LLAudioChannelFMOD.

Referenced by setSource(), and LLAudioEngine::updateChannels().

Here is the caller graph for this function:

virtual void LLAudioChannel::updateLoop (  )  [protected, pure virtual]

Implemented in LLAudioChannelFMOD.

Referenced by LLAudioEngine::updateChannels().

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class LLAudioEngine [friend]

Definition at line 387 of file audioengine.h.

friend class LLAudioSource [friend]

Definition at line 388 of file audioengine.h.


Member Data Documentation

Definition at line 403 of file audioengine.h.

Referenced by LLAudioEngine::idle(), and LLAudioChannelFMOD::updateLoop().

Definition at line 404 of file audioengine.h.

Referenced by isWaiting(), setSource(), and setWaiting().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:39:13 2008 for SecondLife by  doxygen 1.5.5