Definition at line 32 of file PgeAudio.h.
#include <PgeAudio.h>
◆ PgeAudio() [1/3]
◆ PgeAudio() [2/3]
pge_audio::PgeAudio::PgeAudio |
( |
const PgeAudio & | | ) |
|
|
delete |
◆ PgeAudio() [3/3]
pge_audio::PgeAudio::PgeAudio |
( |
PgeAudio && | | ) |
|
|
delete |
◆ getAudioEngineCore()
SoLoud::Soloud & pge_audio::PgeAudio::getAudioEngineCore |
( |
| ) |
|
◆ getConsole()
CConsole & pge_audio::PgeAudio::getConsole |
( |
| ) |
const |
◆ getLoggerModuleName()
const char * pge_audio::PgeAudio::getLoggerModuleName |
( |
| ) |
|
|
static |
◆ initialize()
bool pge_audio::PgeAudio::initialize |
( |
| ) |
|
Initialize the audio subsystem.
- Returns
- The result of the initialization. True on success, false otherwise.
Definition at line 39 of file PgeAudio.cpp.
◆ isInitialized()
bool pge_audio::PgeAudio::isInitialized |
( |
| ) |
const |
Gets the state of the audio subsystem.
- Returns
- True if the audio subsystem is successfully initialized, false before initialization or after shutdown.
Definition at line 120 of file PgeAudio.cpp.
◆ loadSound()
void pge_audio::PgeAudio::loadSound |
( |
SoLoud::Wav & | snd, |
|
|
const std::string & | sFname ) |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ play3dSound() [1/3]
SoLoud::handle pge_audio::PgeAudio::play3dSound |
( |
SoLoud::Wav & | snd, |
|
|
const float & | posX, |
|
|
const float & | posY, |
|
|
const float & | posZ ) |
◆ play3dSound() [2/3]
SoLoud::handle pge_audio::PgeAudio::play3dSound |
( |
SoLoud::Wav & | snd, |
|
|
const PureVector & | pos ) |
◆ play3dSound() [3/3]
SoLoud::handle pge_audio::PgeAudio::play3dSound |
( |
SoLoud::Wav & | snd, |
|
|
const TXYZ & | pos ) |
◆ playSound()
SoLoud::handle pge_audio::PgeAudio::playSound |
( |
SoLoud::Wav & | snd | ) |
|
◆ shutdown()
bool pge_audio::PgeAudio::shutdown |
( |
| ) |
|
Stops the audio subsystem.
No effect before initialization. After shutdown, initialize() can be called again.
- Returns
- True on successful shutdown, false otherwise.
Definition at line 100 of file PgeAudio.cpp.
◆ stopSoundInstance()
void pge_audio::PgeAudio::stopSoundInstance |
( |
const SoLoud::handle & | sndHandle | ) |
|
◆ CVAR_SFX_ENABLED
char* pge_audio::PgeAudio::CVAR_SFX_ENABLED = "sfx_enabled" |
|
staticconstexpr |
◆ m_bInitialized
bool pge_audio::PgeAudio::m_bInitialized = false |
|
private |
◆ m_cfgProfiles
◆ m_SoLoudCore
SoLoud::Soloud pge_audio::PgeAudio::m_SoLoudCore |
|
private |
The documentation for this class was generated from the following files:
- C:/__PR00F__/___developing___/projects/PGE/PGE/Audio/PgeAudio.h
- C:/__PR00F__/___developing___/projects/PGE/PGE/Audio/PgeAudio.cpp