|
| | SAudioSound (std::string name, std::string path, bool stream) |
| |
| | SAudioSound (std::string name, unsigned int frequency, cAudio::AudioFormats format) |
| |
| bool | IsValid () |
| |
| std::string | GetName () |
| |
| bool | Play (bool loop) |
| |
| bool | Play3d (float attenuation, bool loop) |
| |
| void | Stop () |
| |
| void | Pause () |
| |
| void | SetVolume (float volume) |
| |
| float | GetVolume () |
| |
| bool | IsPlaying () |
| |
| bool | Is3d () |
| |
| bool | IsLoop () |
| |
| bool | FillBuffer (const char *&data, const unsigned int &size) |
| |
| bool | GetLoopOnResume () |
| |
| void | SetLoopOnResume (bool state) |
| |
| bool | GetPlayOnResume () |
| |
| void | SetPlayOnResume (bool playOnResume) |
| |
| float | Get3DAttenuation () |
| |
| float | GetTime () |
| |
| float | GetTotalTime () |
| |
| void | SetPitch (float pitch) |
| |
| float | GetPitch () |
| |
| void | Seek (float pos, bool relative) |
| |
| void | SetPositionAndDirection (cAudio::cVector3 pos, cAudio::cVector3 dir) |
| |
| cAudio::cVector3 | GetPosition () |
| |
| cAudio::cVector3 | GetDirection () |
| |
| void | SetCone (float inner, float outer, float outvol) |
| |
| float | GetInnerCone () |
| |
| float | GetOuterCone () |
| |
| float | GetOuterConeVolume () |
| |
| void | SetRolloffFactor (float rolloff) |
| |
| float | GetRolloffFactor () |
| |
| virtual void | onUpdate () |
| |
| virtual void | onRelease () |
| | This function is called when a source is released and soon to be deleted.
|
| |
| virtual void | onPlay () |
| | This function is called when a source starts playing.
|
| |
| virtual void | onStop () |
| | This function is called when a source stopped playback.
|
| |
| virtual void | onPause () |
| | This function is called when a source is paused.
|
| |
Definition at line 212 of file audio.h.
◆ SAudioSound() [1/2]
| SAudioSound::SAudioSound |
( |
std::string |
name, |
|
|
std::string |
path, |
|
|
bool |
stream |
|
) |
| |
◆ SAudioSound() [2/2]
| SAudioSound::SAudioSound |
( |
std::string |
name, |
|
|
unsigned int |
frequency, |
|
|
cAudio::AudioFormats |
format |
|
) |
| |
◆ ~SAudioSound()
| SAudioSound::~SAudioSound |
( |
| ) |
|
◆ FillBuffer()
| bool SAudioSound::FillBuffer |
( |
const char *& |
data, |
|
|
const unsigned int & |
size |
|
) |
| |
◆ Get3DAttenuation()
| float SAudioSound::Get3DAttenuation |
( |
| ) |
|
◆ GetDirection()
| cAudio::cVector3 SAudioSound::GetDirection |
( |
| ) |
|
◆ GetInnerCone()
| float SAudioSound::GetInnerCone |
( |
| ) |
|
◆ GetLoopOnResume()
| bool SAudioSound::GetLoopOnResume |
( |
| ) |
|
◆ GetName()
| std::string SAudioSound::GetName |
( |
| ) |
|
◆ GetOuterCone()
| float SAudioSound::GetOuterCone |
( |
| ) |
|
◆ GetOuterConeVolume()
| float SAudioSound::GetOuterConeVolume |
( |
| ) |
|
◆ GetPitch()
| float SAudioSound::GetPitch |
( |
| ) |
|
◆ GetPlayOnResume()
| bool SAudioSound::GetPlayOnResume |
( |
| ) |
|
◆ GetPosition()
| cAudio::cVector3 SAudioSound::GetPosition |
( |
| ) |
|
◆ GetRolloffFactor()
| float SAudioSound::GetRolloffFactor |
( |
| ) |
|
◆ GetTime()
| float SAudioSound::GetTime |
( |
| ) |
|
◆ GetTotalTime()
| float SAudioSound::GetTotalTime |
( |
| ) |
|
◆ GetVolume()
| float SAudioSound::GetVolume |
( |
| ) |
|
◆ Is3d()
| bool SAudioSound::Is3d |
( |
| ) |
|
◆ IsLoop()
| bool SAudioSound::IsLoop |
( |
| ) |
|
◆ IsPlaying()
| bool SAudioSound::IsPlaying |
( |
| ) |
|
◆ IsValid()
| bool SAudioSound::IsValid |
( |
| ) |
|
◆ onPause()
| void SAudioSound::onPause |
( |
| ) |
|
|
virtual |
This function is called when a source is paused.
Definition at line 1421 of file audio.cpp.
◆ onPlay()
| void SAudioSound::onPlay |
( |
| ) |
|
|
virtual |
This function is called when a source starts playing.
Definition at line 1411 of file audio.cpp.
◆ onRelease()
| void SAudioSound::onRelease |
( |
| ) |
|
|
virtual |
This function is called when a source is released and soon to be deleted.
Definition at line 1407 of file audio.cpp.
◆ onStop()
| void SAudioSound::onStop |
( |
| ) |
|
|
virtual |
This function is called when a source stopped playback.
Definition at line 1415 of file audio.cpp.
◆ onUpdate()
| void SAudioSound::onUpdate |
( |
| ) |
|
|
virtual |
◆ Pause()
| void SAudioSound::Pause |
( |
| ) |
|
◆ Play()
| bool SAudioSound::Play |
( |
bool |
loop | ) |
|
◆ Play3d()
| bool SAudioSound::Play3d |
( |
float |
attenuation, |
|
|
bool |
loop |
|
) |
| |
◆ Seek()
| void SAudioSound::Seek |
( |
float |
pos, |
|
|
bool |
relative |
|
) |
| |
◆ SetCone()
| void SAudioSound::SetCone |
( |
float |
inner, |
|
|
float |
outer, |
|
|
float |
outvol |
|
) |
| |
◆ SetLoopOnResume()
| void SAudioSound::SetLoopOnResume |
( |
bool |
state | ) |
|
◆ SetPitch()
| void SAudioSound::SetPitch |
( |
float |
pitch | ) |
|
◆ SetPlayOnResume()
| void SAudioSound::SetPlayOnResume |
( |
bool |
playOnResume | ) |
|
◆ SetPositionAndDirection()
| void SAudioSound::SetPositionAndDirection |
( |
cAudio::cVector3 |
pos, |
|
|
cAudio::cVector3 |
dir |
|
) |
| |
◆ SetRolloffFactor()
| void SAudioSound::SetRolloffFactor |
( |
float |
rolloff | ) |
|
◆ SetVolume()
| void SAudioSound::SetVolume |
( |
float |
volume | ) |
|
◆ Stop()
| void SAudioSound::Stop |
( |
| ) |
|
◆ mEffectState
| bool SAudioSound::mEffectState |
◆ mFilterState
| bool SAudioSound::mFilterState |
The documentation for this class was generated from the following files: