CMixChannel Class Reference

#include <mixchannel.hpp>

List of all members.

Public Member Functions

 CMixChannel ()
void reset ()
void set (CMixChannel *pSourceCopy)
void setLoop (tBOOL loop)
void startFadeIn (tREAL32 DurationSeconds)
void startFadeOut (tREAL32 DurationSeconds)

Public Attributes

tREAL32 m_fBaseVolume
tREAL32 m_fBasePan
tREAL32 m_fVolume
tREAL32 m_fPan
tBOOL m_bFadingIn
tBOOL m_bFadingOut
tREAL32 m_fFadeTime
tREAL32 m_fFadeDuration
tBOOL m_bMute
tBOOL m_bLoop
tBOOL m_bStartPaused


Detailed Description

A mix channel describes how the current sample should be incorporated into the gameplay mix.

You may change any parameter here, and the settings will be honoured on the next update() of the audio engine.

Invalid/insane settings (e.g. setting fade in and out at the same time) produces undefined results. Consequently, it is recommended you use the access methods.


Constructor & Destructor Documentation

CMixChannel::CMixChannel (  ) 


Member Function Documentation

void CMixChannel::reset (  ) 

void CMixChannel::set ( CMixChannel pSourceCopy  ) 

void CMixChannel::setLoop ( tBOOL  loop  ) 

void CMixChannel::startFadeIn ( tREAL32  DurationSeconds  ) 

void CMixChannel::startFadeOut ( tREAL32  DurationSeconds  ) 


Member Data Documentation


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

Generated on Thu Aug 14 14:36:34 2008 for The SGX Core by  doxygen 1.5.6