#include <mixchannel.hpp>
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 |
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.
| CMixChannel::CMixChannel | ( | ) |
| void CMixChannel::reset | ( | ) |
| void CMixChannel::set | ( | CMixChannel * | pSourceCopy | ) |
| void CMixChannel::setLoop | ( | tBOOL | loop | ) |
| void CMixChannel::startFadeIn | ( | tREAL32 | DurationSeconds | ) |
| void CMixChannel::startFadeOut | ( | tREAL32 | DurationSeconds | ) |
| tREAL32 CMixChannel::m_fBaseVolume |
| tREAL32 CMixChannel::m_fBasePan |
| tREAL32 CMixChannel::m_fVolume |
| tREAL32 CMixChannel::m_fPan |
| tBOOL CMixChannel::m_bFadingIn |
| tREAL32 CMixChannel::m_fFadeTime |
| tREAL32 CMixChannel::m_fFadeDuration |
| tBOOL CMixChannel::m_bMute |
| tBOOL CMixChannel::m_bLoop |
1.5.6