OpenBarnyard
 
Loading...
Searching...
No Matches
ASoundManager::SoundEvent Class Reference

#include <ASoundManager.h>

Inheritance diagram for ASoundManager::SoundEvent:

Public Member Functions

 SoundEvent (SOUNDEVENT a_eEventType, TFLOAT a_fStartTime, Cue *a_pCue, ASound::Sample *a_pWave, ChannelRef *a_pChannel, TINT a_iFlags, TINT a_iTrackIndex)
 
 SoundEvent (SOUNDEVENT a_eEventType, TFLOAT a_fStartTime, Cue *a_pCue, ASound::Sample *a_pWave, TFLOAT a_fCustomParam1, ChannelRef *a_pChannel, TINT a_iFlags, TINT a_iTrackIndex)
 
 SoundEvent (SOUNDEVENT a_eEventType, TFLOAT a_fStartTime, Cue *a_pCue, ASound::Sample *a_pWave, const EventParameters &a_rcCustomParams, ChannelRef *a_pChannel, TINT a_iFlags, TINT a_iTrackIndex)
 

Public Attributes

SOUNDEVENT eEventType
 
TFLOAT fStartTime
 
TINT iFlags
 
CuepCue
 
ASound::SamplepSample
 
ChannelRefpChannel
 
EventParameters oParameters
 
TINT iTrackIndex
 

Detailed Description

Definition at line 114 of file ASoundManager.h.

Constructor & Destructor Documentation

◆ SoundEvent() [1/3]

ASoundManager::SoundEvent::SoundEvent ( SOUNDEVENT a_eEventType,
TFLOAT a_fStartTime,
Cue * a_pCue,
ASound::Sample * a_pWave,
ChannelRef * a_pChannel,
TINT a_iFlags,
TINT a_iTrackIndex )

Definition at line 1738 of file ASoundManager.cpp.

1739 : pSample( a_pWave ), eEventType( a_eEventType ), pChannel( a_pChannel ), iFlags( a_iFlags ), pCue( a_pCue ), fStartTime( a_fStartTime ), iTrackIndex( a_iTrackIndex )
1740{
1741}

◆ SoundEvent() [2/3]

ASoundManager::SoundEvent::SoundEvent ( SOUNDEVENT a_eEventType,
TFLOAT a_fStartTime,
Cue * a_pCue,
ASound::Sample * a_pWave,
TFLOAT a_fCustomParam1,
ChannelRef * a_pChannel,
TINT a_iFlags,
TINT a_iTrackIndex )

Definition at line 1743 of file ASoundManager.cpp.

1744 : pSample( a_pWave ), eEventType( a_eEventType ), pChannel( a_pChannel ), iFlags( a_iFlags ), pCue( a_pCue ), fStartTime( a_fStartTime ), iTrackIndex( a_iTrackIndex )
1745{
1746 oParameters[ 0 ] = a_fCustomParam1;
1747}
EventParameters oParameters

◆ SoundEvent() [3/3]

ASoundManager::SoundEvent::SoundEvent ( SOUNDEVENT a_eEventType,
TFLOAT a_fStartTime,
Cue * a_pCue,
ASound::Sample * a_pWave,
const EventParameters & a_rcCustomParams,
ChannelRef * a_pChannel,
TINT a_iFlags,
TINT a_iTrackIndex )

Definition at line 1749 of file ASoundManager.cpp.

1750 : pSample( a_pWave ), eEventType( a_eEventType ), pChannel( a_pChannel ), iFlags( a_iFlags ), pCue( a_pCue ), fStartTime( a_fStartTime ), iTrackIndex( a_iTrackIndex ), oParameters( a_rcCustomParams )
1751{
1752}

Member Data Documentation

◆ eEventType

SOUNDEVENT ASoundManager::SoundEvent::eEventType

Definition at line 122 of file ASoundManager.h.

◆ fStartTime

TFLOAT ASoundManager::SoundEvent::fStartTime

Definition at line 123 of file ASoundManager.h.

◆ iFlags

TINT ASoundManager::SoundEvent::iFlags

Definition at line 124 of file ASoundManager.h.

◆ iTrackIndex

TINT ASoundManager::SoundEvent::iTrackIndex

Definition at line 129 of file ASoundManager.h.

◆ oParameters

EventParameters ASoundManager::SoundEvent::oParameters

Definition at line 128 of file ASoundManager.h.

◆ pChannel

ChannelRef* ASoundManager::SoundEvent::pChannel

Definition at line 127 of file ASoundManager.h.

◆ pCue

Cue* ASoundManager::SoundEvent::pCue

Definition at line 125 of file ASoundManager.h.

◆ pSample

ASound::Sample* ASoundManager::SoundEvent::pSample

Definition at line 126 of file ASoundManager.h.


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