#include <ASoundManager.h>
Definition at line 174 of file ASoundManager.h.
◆ Cue()
ASoundManager::Cue::Cue |
( |
| ) |
|
Definition at line 1654 of file ASoundManager.cpp.
1655{
1656
1665}
static const constinit TVector4 VEC_ZERO
static Toshi::TMemory::MemBlock * GetMemBlock(POOL a_ePool)
Toshi::TVector4 vecPosition
SoundEventList oEventList
◆ ~Cue()
ASoundManager::Cue::~Cue |
( |
| ) |
|
◆ HasEventOfType()
Definition at line 1727 of file ASoundManager.cpp.
1728{
1730 {
1731 if ( it->eEventType == a_eEventType )
1733 }
1734
1736}
#define T2_FOREACH(vecName, iteratorName)
◆ IsUsed()
TBOOL ASoundManager::Cue::IsUsed |
( |
| ) |
const |
|
inline |
◆ Reset()
void ASoundManager::Cue::Reset |
( |
| ) |
|
Definition at line 1673 of file ASoundManager.cpp.
1674{
1675 ASoundManager* pSoundManager = ASoundManager::GetSingleton();
1676
1678 {
1679 it->fnCallback( 1, GetCueIndex( this ), it->pUserData );
1680 }
1681
1686
1687
1689 {
1690 channelRef->pSample->pWaveBank->ResetWave( channelRef->pSample->iId );
1691 }
1692
1693
1695 {
1696 SoundEvent* pSoundEvent =
oEventList->PopFront();
1697 pSoundManager->m_SoundEventPool.FreeObject( pSoundEvent );
1698 }
1699
1702
1703
1705 {
1707 {
1709 pSoundManager->m_ChannelRefLegacyPool.DeleteObject( pChannelRef );
1710 }
1711 }
1712
1714
1716 {
1718 pSoundManager->m_ChannelRefPool.DeleteObject( pChannelRef );
1719 }
1720
1722
1723 if ( IsLinked() )
1724 Remove();
1725}
#define TARRAYSIZE(ARRAY)
Toshi::T2DList< ChannelRef > oChannelRefs
Toshi::T2DList< ChannelRefLegacy > aChannelRefsLegacy[2]
Toshi::T2Vector< TINT, 15 > vecLoopStarts
◆ aChannelRefsLegacy
◆ bUsed
TBOOL ASoundManager::Cue::bUsed |
◆ fFrequency
TFLOAT ASoundManager::Cue::fFrequency |
◆ fStartTime
TFLOAT ASoundManager::Cue::fStartTime |
◆ fStartTime2
TFLOAT ASoundManager::Cue::fStartTime2 |
◆ fVolume
TFLOAT ASoundManager::Cue::fVolume |
◆ iNumChannelRefs
TINT ASoundManager::Cue::iNumChannelRefs |
◆ oChannelRefs
Toshi::T2DList<ChannelRef> ASoundManager::Cue::oChannelRefs |
◆ oEventList
◆ pSound
ASound* ASoundManager::Cue::pSound |
◆ vecLoopStarts
Toshi::T2Vector<TINT, 15> ASoundManager::Cue::vecLoopStarts |
◆ vecPosition
Toshi::TVector4 ASoundManager::Cue::vecPosition |
The documentation for this class was generated from the following files: