Pyrogenesis
13997
|
#include <CBufferItem.h>
Public Member Functions | |
CBufferItem (CSoundData *sndData) | |
virtual | ~CBufferItem () |
virtual void | SetLooping (bool loops) |
virtual bool | IdleTask () |
virtual void | Attach (CSoundData *itemData) |
![]() | |
CSoundBase () | |
virtual | ~CSoundBase () |
bool | InitOpenAL () |
void | ResetVars () |
void | EnsurePlay () |
void | SetGain (ALfloat gain) |
void | SetRollOff (ALfloat gain) |
void | SetPitch (ALfloat pitch) |
void | SetDirection (const CVector3D &direction) |
void | SetCone (ALfloat innerCone, ALfloat outerCone, ALfloat coneGain) |
void | SetLastPlay (bool last) |
void | ReleaseOpenAL () |
bool | IsFading () |
bool | Finished () |
void | Play () |
void | PlayAndDelete () |
void | PlayLoop () |
void | Stop () |
void | StopAndDelete () |
void | FadeToIn (ALfloat newVolume, double fadeDuration) |
bool | GetLooping () |
bool | IsPlaying () |
void | SetLocation (const CVector3D &position) |
void | FadeAndDelete (double fadeTime) |
void | FadeAndPause (double fadeTime) |
void | Pause () |
void | Resume () |
Path * | GetName () |
![]() | |
virtual | ~ISoundItem () |
virtual void | FadeToIn (float newVolume, double fadeDuration)=0 |
virtual void | SetCone (float innerCone, float outerCone, float coneGain)=0 |
virtual void | SetPitch (float pitch)=0 |
virtual void | SetGain (float gain)=0 |
virtual void | SetRollOff (float gain)=0 |
Protected Member Functions | |
void | ReleaseOpenALBuffer () |
![]() | |
void | SetNameFromPath (VfsPath &itemPath) |
void | ResetFade () |
bool | HandleFade () |
Additional Inherited Members | |
![]() | |
ALuint | m_ALSource |
CSoundData * | m_SoundData |
bool | m_LastPlay |
bool | m_Looping |
bool | m_ShouldBePlaying |
bool | m_PauseAfterFade |
bool | m_IsPaused |
double | m_StartFadeTime |
double | m_EndFadeTime |
ALfloat | m_StartVolume |
ALfloat | m_EndVolume |
CMutex | m_ItemMutex |
Definition at line 27 of file CBufferItem.h.
CBufferItem::CBufferItem | ( | CSoundData * | sndData | ) |
Definition at line 29 of file CBufferItem.cpp.
|
virtual |
Definition at line 37 of file CBufferItem.cpp.
|
virtual |
Reimplemented from CSoundBase.
Definition at line 106 of file CBufferItem.cpp.
|
virtual |
Reimplemented from CSoundBase.
Definition at line 69 of file CBufferItem.cpp.
|
protected |
Definition at line 44 of file CBufferItem.cpp.
|
virtual |
Reimplemented from CSoundBase.
Definition at line 126 of file CBufferItem.cpp.