#include <SoundManager.h>
|
static snd_err | SendDataA2F (ThreadCommand val) |
|
static snd_err | SendDataF2A (ThreadCommand val) |
|
static snd_err | PanSound (IXAudio2SubmixVoice *&sourceVoice, X3DAUDIO_DSP_SETTINGS *&dspSettings) |
|
static snd_err | PassCallback (CallbackMailbox *cb) |
|
static snd_err | EndAudioThread () |
|
static bool | AudioThreadEnded () |
|
static snd_err | CancelPlaylist (unsigned int i) |
|
static snd_err | Update () |
|
static snd_err | GetInfo (SoundManagerInfo &out) |
|
static snd_err | InsertTimelineCommand (AudioCommand *cmd) |
|
static snd_err | InsertTimelineCommand (AudioCommand *cmd, int t) |
|
static snd_err | LoadSound (std::string key, char *in, void(*cb)(void)) |
|
static snd_err | LoadSound (unsigned int key, char *in, void(*cb)(void)) |
|
static snd_err | LoadSound (unsigned int key, const char *in, void(*cb)(void)) |
|
static snd_err | UnloadSound (Sound *&snd) |
|
static snd_err | CreateChannel (Channel *&out) |
|
static snd_err | Unload () |
|
static snd_err | GetSound (Sound *&out, std::string in, Playlist *pl) |
|
static snd_err | GetSound (Sound *&out, unsigned int in, Playlist *pl) |
|
static void | Print () |
|
static snd_err | CreateVoice (Track *&v, WAVEFORMATEXTENSIBLE &wfx) |
|
static int | GetSoundTime () |
|
|
| SoundManager () |
|
| SoundManager (const SoundManager &)=delete |
|
const SoundManager & | operator= (const SoundManager &)=delete |
|
| ~SoundManager () |
|
snd_err | GetXAudio2 (IXAudio2 *&out) |
|
snd_err | privRemove (Sound *snd) |
|
snd_err | privCreateVoice (Track *&v, WAVEFORMATEXTENSIBLE &wfx) |
|
snd_err | privLoadSound (std::string key, char *path, void(*cb)(void)) |
|
snd_err | privLoadSound (unsigned int key, char *path, void(*cb)(void)) |
|
snd_err | privPanSound (IXAudio2SubmixVoice *&sourceVoice, X3DAUDIO_DSP_SETTINGS *&dspSettings) |
|
snd_err | privLoadSound (unsigned int key, const char *path, void(*cb)(void)) |
|
snd_err | privUnloadSound (Sound *&snd) |
|
snd_err | privCreateChannel (Channel *&out) |
|
snd_err | privUnload () |
|
snd_err | privGetSound (Sound *&out, std::string in, Playlist *pl) |
|
snd_err | privGetSound (Sound *&out, unsigned int in, Playlist *pl) |
|
snd_err | privGetInfo (SoundManagerInfo &out) |
|
snd_err | privInsertTimelineCommand (AudioCommand *cmd) |
|
snd_err | privInsertTimelineCommand (AudioCommand *cmd, int trigger_time) |
|
snd_err | privUpdate () |
|
int | privGetTime () |
|
snd_err | privEndAudioThread () |
|
bool | privAudioThreadEnded () |
|
snd_err | privPassCallback (CallbackMailbox *cb) |
|
snd_err | privSendDataF2A (ThreadCommand val) |
|
snd_err | privSendDataA2F (ThreadCommand val) |
|
◆ SoundManager() [1/2]
SoundManager::SoundManager |
( |
| ) |
|
|
private |
◆ SoundManager() [2/2]
◆ ~SoundManager()
SoundManager::~SoundManager |
( |
| ) |
|
|
private |
◆ AudioThreadEnded()
static bool SoundManager::AudioThreadEnded |
( |
| ) |
|
|
inlinestatic |
◆ CancelPlaylist()
static snd_err SoundManager::CancelPlaylist |
( |
unsigned int |
i | ) |
|
|
inlinestatic |
◆ CreateChannel()
◆ CreateVoice()
static snd_err SoundManager::CreateVoice |
( |
Track *& |
v, |
|
|
WAVEFORMATEXTENSIBLE & |
wfx |
|
) |
| |
|
inlinestatic |
◆ EndAudioThread()
static snd_err SoundManager::EndAudioThread |
( |
| ) |
|
|
inlinestatic |
◆ GetInfo()
◆ GetSound() [1/2]
◆ GetSound() [2/2]
◆ GetSoundTime()
static int SoundManager::GetSoundTime |
( |
| ) |
|
|
inlinestatic |
◆ GetXAudio2()
snd_err SoundManager::GetXAudio2 |
( |
IXAudio2 *& |
out | ) |
|
|
private |
◆ InsertTimelineCommand() [1/2]
◆ InsertTimelineCommand() [2/2]
◆ Instance()
◆ LoadSound() [1/3]
static snd_err SoundManager::LoadSound |
( |
std::string |
key, |
|
|
char * |
in, |
|
|
void(*)(void) |
cb |
|
) |
| |
|
inlinestatic |
◆ LoadSound() [2/3]
static snd_err SoundManager::LoadSound |
( |
unsigned int |
key, |
|
|
char * |
in, |
|
|
void(*)(void) |
cb |
|
) |
| |
|
inlinestatic |
◆ LoadSound() [3/3]
static snd_err SoundManager::LoadSound |
( |
unsigned int |
key, |
|
|
const char * |
in, |
|
|
void(*)(void) |
cb |
|
) |
| |
|
inlinestatic |
◆ operator=()
◆ PanSound()
static snd_err SoundManager::PanSound |
( |
IXAudio2SubmixVoice *& |
sourceVoice, |
|
|
X3DAUDIO_DSP_SETTINGS *& |
dspSettings |
|
) |
| |
|
inlinestatic |
◆ PassCallback()
◆ Print()
static void SoundManager::Print |
( |
| ) |
|
|
inlinestatic |
◆ privAudioThreadEnded()
bool SoundManager::privAudioThreadEnded |
( |
| ) |
|
|
private |
◆ privCreateChannel()
◆ privCreateVoice()
snd_err SoundManager::privCreateVoice |
( |
Track *& |
v, |
|
|
WAVEFORMATEXTENSIBLE & |
wfx |
|
) |
| |
|
private |
◆ privEndAudioThread()
snd_err SoundManager::privEndAudioThread |
( |
| ) |
|
|
private |
◆ privGetInfo()
◆ privGetSound() [1/2]
◆ privGetSound() [2/2]
◆ privGetTime()
int SoundManager::privGetTime |
( |
| ) |
|
|
private |
◆ privInsertTimelineCommand() [1/2]
◆ privInsertTimelineCommand() [2/2]
◆ privLoadSound() [1/3]
snd_err SoundManager::privLoadSound |
( |
std::string |
key, |
|
|
char * |
path, |
|
|
void(*)(void) |
cb |
|
) |
| |
|
private |
◆ privLoadSound() [2/3]
snd_err SoundManager::privLoadSound |
( |
unsigned int |
key, |
|
|
char * |
path, |
|
|
void(*)(void) |
cb |
|
) |
| |
|
private |
◆ privLoadSound() [3/3]
snd_err SoundManager::privLoadSound |
( |
unsigned int |
key, |
|
|
const char * |
path, |
|
|
void(*)(void) |
cb |
|
) |
| |
|
private |
◆ privPanSound()
snd_err SoundManager::privPanSound |
( |
IXAudio2SubmixVoice *& |
sourceVoice, |
|
|
X3DAUDIO_DSP_SETTINGS *& |
dspSettings |
|
) |
| |
|
private |
◆ privPassCallback()
◆ privRemove()
◆ privSendDataA2F()
◆ privSendDataF2A()
◆ privUnload()
snd_err SoundManager::privUnload |
( |
| ) |
|
|
private |
◆ privUnloadSound()
◆ privUpdate()
snd_err SoundManager::privUpdate |
( |
| ) |
|
|
private |
◆ Remove()
◆ SendDataA2F()
◆ SendDataF2A()
◆ Unload()
static snd_err SoundManager::Unload |
( |
| ) |
|
|
inlinestatic |
◆ UnloadSound()
◆ Update()
static snd_err SoundManager::Update |
( |
| ) |
|
|
inlinestatic |
◆ Sound
◆ VoiceFactory
◆ assetPath
const char* SoundManager::assetPath = "Sounds\\" |
|
private |
◆ callbacks
◆ endAudioThread
bool SoundManager::endAudioThread |
|
private |
◆ fileThread
std::thread SoundManager::fileThread |
|
private |
◆ info
◆ instance
◆ list
◆ masteringVoice
IXAudio2MasteringVoice* SoundManager::masteringVoice |
|
private |
◆ pA2F
◆ pF2A
◆ timeline
◆ xAudio2
IXAudio2* SoundManager::xAudio2 |
|
private |
The documentation for this class was generated from the following files: