#include <audiointerface.h>
◆ AudioInterface()
AudioInterface::AudioInterface |
( |
| ) |
|
◆ ~AudioInterface()
cqsp::engine::audio::AudioInterface::~AudioInterface |
( |
| ) |
|
◆ AddAudioClip()
void cqsp::engine::audio::AudioInterface::AddAudioClip |
( |
const std::string & |
key, |
|
|
cqsp::asset::AudioAsset * |
asset |
|
) |
| |
|
overridevirtual |
◆ Destruct()
void AudioInterface::Destruct |
( |
| ) |
|
|
overridevirtual |
◆ GetAudioVersion()
std::string AudioInterface::GetAudioVersion |
( |
| ) |
|
|
overridevirtual |
◆ InitALContext()
void AudioInterface::InitALContext |
( |
| ) |
|
|
private |
◆ Initialize()
void AudioInterface::Initialize |
( |
| ) |
|
|
overridevirtual |
◆ InitListener()
void AudioInterface::InitListener |
( |
| ) |
|
|
private |
◆ LoadNextFile()
std::unique_ptr< AudioAsset > cqsp::engine::audio::AudioInterface::LoadNextFile |
( |
| ) |
|
|
private |
◆ LoadWav()
std::unique_ptr< AudioAsset > AudioInterface::LoadWav |
( |
std::ifstream & |
input | ) |
|
◆ OnFrame()
void cqsp::engine::audio::AudioInterface::OnFrame |
( |
| ) |
|
|
overridevirtual |
◆ Pause()
void AudioInterface::Pause |
( |
bool |
to_pause | ) |
|
|
overridevirtual |
◆ PauseMusic()
void AudioInterface::PauseMusic |
( |
bool |
to_pause | ) |
|
|
overridevirtual |
◆ PlayAudioClip() [1/2]
void cqsp::engine::audio::AudioInterface::PlayAudioClip |
( |
const std::string & |
key | ) |
|
|
overridevirtual |
◆ PlayAudioClip() [2/2]
◆ PrintInformation()
void AudioInterface::PrintInformation |
( |
| ) |
|
|
private |
◆ RequestPlayAudio()
void AudioInterface::RequestPlayAudio |
( |
| ) |
|
|
overridevirtual |
◆ SetChannelVolume()
void cqsp::engine::audio::AudioInterface::SetChannelVolume |
( |
int |
channel, |
|
|
float |
gain |
|
) |
| |
|
overridevirtual |
◆ SetMusicVolume()
void AudioInterface::SetMusicVolume |
( |
float |
volume | ) |
|
|
overridevirtual |
◆ StartWorker()
void AudioInterface::StartWorker |
( |
| ) |
|
|
overridevirtual |
◆ assets
◆ audio_future
◆ channels
std::vector<std::unique_ptr<AudioChannel> > cqsp::engine::audio::AudioInterface::channels |
|
private |
◆ context
ALCcontext* cqsp::engine::audio::AudioInterface::context |
◆ device
ALCdevice* cqsp::engine::audio::AudioInterface::device |
◆ enumeration
ALboolean cqsp::engine::audio::AudioInterface::enumeration |
◆ logger
std::shared_ptr<spdlog::logger> cqsp::engine::audio::AudioInterface::logger |
◆ music_asset
◆ MUSIC_CHANNEL
const int cqsp::engine::audio::AudioInterface::MUSIC_CHANNEL = 0 |
|
staticprivate |
◆ music_volume
float cqsp::engine::audio::AudioInterface::music_volume = 0 |
|
private |
◆ playlist
Hjson::Value cqsp::engine::audio::AudioInterface::playlist |
◆ to_quit
std::atomic_bool cqsp::engine::audio::AudioInterface::to_quit |
◆ UI_CHANNEL
const int cqsp::engine::audio::AudioInterface::UI_CHANNEL = 1 |
|
staticprivate |
The documentation for this class was generated from the following files: