#include <AudioManager.h>
Public Member Functions | |
| CAudioManager (void) | |
| ~CAudioManager (void) | |
| void | Init (void) |
| void | SetListenerPosition (SPosition *p) |
| int | CreateSource (void) |
| void | SetSourcePosition (int name, SPosition *p) |
| void | SetSourcePosition (int name, SVector *v) |
| void | SetSourceDirection (int name, SVector *v) |
| void | SetSourceVelocity (int name, SVector *v) |
| void | SetSourceFrequency (int name, float freqScalar) |
| void | AssignSfx (int source, int buffer) |
| int | CreateSfx (PFS *pfs, const char *wavfile) |
| int | IsValidSfx (int name) |
| int | PlaySfx (int source, PFS *pfs, const char *wavfile) |
| int | PlaySfx (int source, int name) |
| int | PlaySfxDelay (int source, PFS *pfs, const char *wavfile, float delay, float *length) |
| int | PlaySfxDelay (int source, int name, float delay, float *length) |
| void | StopSfx (int name) |
| void | StopSfxByUserData (int user1, int user2) |
| void | SetSfxVolume (int name, float volume) |
| void | SetSfxPosition (int name, SPosition *p) |
| void | SetSfxPosition (int name, SVector *v) |
| void | SetSfxDirection (int name, SVector *v) |
| void | SetSfxVelocity (int name, SVector *v) |
| void | SetSfxFrequency (int name, float freqScalar) |
| void | SetSfxUserData (int name, int user1, int user2) |
Public Attributes | |
| std::map< std::string, CSoundEffect * > | cache |
| SPosition | listenerPos |
Private Member Functions | |
| CSoundEffect * | GetSoundEffect (int name) |
| CSoundEffect * | GetFirstSoundEffectByUserData (int user1, int user2) |
| CSoundEffect * | GetNextSoundEffectByUserData (int user1, int user2) |
Private Attributes | |
| std::map< std::string, CSoundEffect * >::iterator | iterUserData |
Definition at line 75 of file AudioManager.h.
|
|
Definition at line 102 of file AudioManager.cpp. |
|
|
Definition at line 109 of file AudioManager.cpp. References cache. |
|
||||||||||||
|
Definition at line 436 of file AudioManager.cpp. References globals, SGlobals::logWarning, and CLogFile::Write(). Referenced by PlaySfx(). |
|
||||||||||||
|
Definition at line 251 of file AudioManager.cpp. References CSoundEffect::bound, cache, data, gtfo, CSoundEffect::name, pclose(), popen(), pread(), PODFILE::size, and CSoundEffect::wavfile. Referenced by CRockerSwitch::ReadFinished(), CKAFireExtinguisherButton::ReadFinished(), CMasterCautionWarningButtonGauge::ReadFinished(), CSimpleFloatSwitch::ReadFinished(), CSimpleInOutStateSwitch::ReadFinished(), CSimpleSwitch::ReadFinished(), and CGyroSlavingGauge::ReadFinished(). |
|
|
Definition at line 215 of file AudioManager.cpp. References gtfo. Referenced by CSituation::CSituation(). |
|
||||||||||||
|
Definition at line 378 of file AudioManager.cpp. References CSoundEffect::user1, and CSoundEffect::user2. Referenced by StopSfxByUserData(). |
|
||||||||||||
|
Definition at line 405 of file AudioManager.cpp. References CSoundEffect::user1, and CSoundEffect::user2. Referenced by StopSfxByUserData(). |
|
|
Definition at line 354 of file AudioManager.cpp. References cache, and CSoundEffect::name. Referenced by IsValidSfx(), PlaySfx(), PlaySfxDelay(), SetSfxDirection(), SetSfxFrequency(), SetSfxPosition(), SetSfxUserData(), SetSfxVolume(), and StopSfx(). |
|
|
Definition at line 135 of file AudioManager.cpp. References gtfo, and listenerPos. Referenced by InitGlobalsNoPodFilesystem(). |
|
|
Definition at line 427 of file AudioManager.cpp. References GetSoundEffect(). |
|
||||||||||||
|
Definition at line 457 of file AudioManager.cpp. References AssignSfx(), GetSoundEffect(), globals, SGlobals::logWarning, CSoundEffect::name, and CLogFile::Write(). |
|
||||||||||||||||
|
||||||||||||||||||||
|
Definition at line 491 of file AudioManager.cpp. References GetSoundEffect(), globals, SGlobals::logWarning, CSoundEffect::name, and CLogFile::Write(). |
|
||||||||||||||||||||||||
|
|
|
|
Definition at line 204 of file AudioManager.cpp. References SPosition::alt, SPosition::lat, listenerPos, and SPosition::lon. |
|
||||||||||||
|
Definition at line 636 of file AudioManager.cpp. References GetSoundEffect(), globals, SGlobals::logWarning, CLogFile::Write(), SVector::x, SVector::y, and SVector::z. |
|
||||||||||||
|
Definition at line 677 of file AudioManager.cpp. References GetSoundEffect(), globals, SGlobals::logWarning, and CLogFile::Write(). |
|
||||||||||||
|
Definition at line 615 of file AudioManager.cpp. References GetSoundEffect(), globals, SGlobals::logWarning, CLogFile::Write(), SVector::x, SVector::y, and SVector::z. |
|
||||||||||||
|
Definition at line 599 of file AudioManager.cpp. |
|
||||||||||||||||
|
Definition at line 706 of file AudioManager.cpp. References GetSoundEffect(), CSoundEffect::user1, and CSoundEffect::user2. |
|
||||||||||||
|
Definition at line 662 of file AudioManager.cpp. |
|
||||||||||||
|
Definition at line 569 of file AudioManager.cpp. References GetSoundEffect(), globals, SGlobals::logWarning, and CLogFile::Write(). |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
Definition at line 516 of file AudioManager.cpp. References GetSoundEffect(), globals, SGlobals::logWarning, and CLogFile::Write(). |
|
||||||||||||
|
Definition at line 543 of file AudioManager.cpp. References GetFirstSoundEffectByUserData(), GetNextSoundEffectByUserData(), globals, SGlobals::logWarning, and CLogFile::Write(). |
|
|
Definition at line 124 of file AudioManager.h. Referenced by CreateSfx(), GetSoundEffect(), and ~CAudioManager(). |
|
|
Definition at line 131 of file AudioManager.h. |
|
|
Definition at line 127 of file AudioManager.h. Referenced by Init(), and SetListenerPosition(). |
|
|
Documentation generated by
|