#include <AudioManager.h>
|
| static void | Initialize () |
| |
| static void | Shutdown () |
| |
| static void | Update (float deltaTime) |
| |
| static void | PlaySound2D (SoundWave *soundWave, float volumeMult=1.0f, float pitchMult=1.0f, float startTime=0.0f, bool loop=false, int32_t priority=0) |
| |
| static void | PlaySound3D (SoundWave *soundWave, glm::vec3 worldPosition, float innerRadius, float outerRadius, AttenuationFunc attenFunc=AttenuationFunc::Linear, float volumeMult=1.0f, float pitchMult=1.0f, float startTime=0.0f, bool loop=false, int32_t priority=0) |
| |
| static void | UpdateSound (SoundWave *soundWave, float volume, float pitch, bool loop=false, int32_t priority=0) |
| |
| static void | StopComponent (Audio3D *comp) |
| |
| static void | StopSounds (SoundWave *soundWave) |
| |
| static void | StopSound (const std::string &name) |
| |
| static void | StopAllSounds () |
| |
| static bool | IsSoundPlaying (SoundWave *soundWave) |
| |
| static void | SetAudioClassVolume (int8_t audioClass, float volume) |
| |
| static void | SetAudioClassPitch (int8_t audioClass, float pitch) |
| |
| static float | GetAudioClassVolume (int8_t audioClass) |
| |
| static float | GetAudioClassPitch (int8_t audioClass) |
| |
| static void | SetMasterVolume (float volume) |
| |
| static void | SetMasterPitch (float pitch) |
| |
| static float | GetMasterVolume () |
| |
| static float | GetMasterPitch () |
| |
◆ GetAudioClassPitch()
| float AudioManager::GetAudioClassPitch |
( |
int8_t |
audioClass | ) |
|
|
static |
◆ GetAudioClassVolume()
| float AudioManager::GetAudioClassVolume |
( |
int8_t |
audioClass | ) |
|
|
static |
◆ GetMasterPitch()
| float AudioManager::GetMasterPitch |
( |
| ) |
|
|
static |
◆ GetMasterVolume()
| float AudioManager::GetMasterVolume |
( |
| ) |
|
|
static |
◆ Initialize()
| void AudioManager::Initialize |
( |
| ) |
|
|
static |
◆ IsSoundPlaying()
| bool AudioManager::IsSoundPlaying |
( |
SoundWave * |
soundWave | ) |
|
|
static |
◆ PlaySound2D()
| void AudioManager::PlaySound2D |
( |
SoundWave * |
soundWave, |
|
|
float |
volumeMult = 1.0f, |
|
|
float |
pitchMult = 1.0f, |
|
|
float |
startTime = 0.0f, |
|
|
bool |
loop = false, |
|
|
int32_t |
priority = 0 |
|
) |
| |
|
static |
◆ PlaySound3D()
| void AudioManager::PlaySound3D |
( |
SoundWave * |
soundWave, |
|
|
glm::vec3 |
worldPosition, |
|
|
float |
innerRadius, |
|
|
float |
outerRadius, |
|
|
AttenuationFunc |
attenFunc = AttenuationFunc::Linear, |
|
|
float |
volumeMult = 1.0f, |
|
|
float |
pitchMult = 1.0f, |
|
|
float |
startTime = 0.0f, |
|
|
bool |
loop = false, |
|
|
int32_t |
priority = 0 |
|
) |
| |
|
static |
◆ SetAudioClassPitch()
| void AudioManager::SetAudioClassPitch |
( |
int8_t |
audioClass, |
|
|
float |
pitch |
|
) |
| |
|
static |
◆ SetAudioClassVolume()
| void AudioManager::SetAudioClassVolume |
( |
int8_t |
audioClass, |
|
|
float |
volume |
|
) |
| |
|
static |
◆ SetMasterPitch()
| void AudioManager::SetMasterPitch |
( |
float |
pitch | ) |
|
|
static |
◆ SetMasterVolume()
| void AudioManager::SetMasterVolume |
( |
float |
volume | ) |
|
|
static |
◆ Shutdown()
| void AudioManager::Shutdown |
( |
| ) |
|
|
static |
◆ StopAllSounds()
| void AudioManager::StopAllSounds |
( |
| ) |
|
|
static |
◆ StopComponent()
| void AudioManager::StopComponent |
( |
Audio3D * |
comp | ) |
|
|
static |
◆ StopSound()
| void AudioManager::StopSound |
( |
const std::string & |
name | ) |
|
|
static |
◆ StopSounds()
| void AudioManager::StopSounds |
( |
SoundWave * |
soundWave | ) |
|
|
static |
◆ Update()
| void AudioManager::Update |
( |
float |
deltaTime | ) |
|
|
static |
◆ UpdateSound()
| void AudioManager::UpdateSound |
( |
SoundWave * |
soundWave, |
|
|
float |
volume, |
|
|
float |
pitch, |
|
|
bool |
loop = false, |
|
|
int32_t |
priority = 0 |
|
) |
| |
|
static |
The documentation for this class was generated from the following files: