defuze.me
Client
|
The main class handling Audio functions This class inherit QThread to play send the audio to the AudioOutput inside a thread. More...
#include <audiocore.hpp>
Signals | |
void | crossfadeFinished () |
Public Member Functions | |
AudioCore (QStringList &arguments) | |
void | init (Cores *cores) |
Called once, after all CORES are loaded. | |
void | aboutToQuit () |
Called just before to quit, when CORES are still loaded. | |
QList< QAudioDeviceInfo > | availableDevices (QAudio::Mode mode) const |
AudioDecoder * | newAudioDecoder (QString playerName) |
AudioMixer * | newAudioMixer (const QString &name="", AudioIO *input=0) |
AudioOutputDevice * | newAudioDevice (QAudioDeviceInfo device=QAudioDeviceInfo::defaultOutputDevice()) |
AudioMixer * | getMasterMixer () |
QList< AudioMixer * > & | getMixers () |
void | startCrossfade (AudioMixer *from, AudioMixer *to) |
void | stopCrossfade () |
Static Public Member Functions | |
static QString | formatSeconds (int seconds) |
The main class handling Audio functions This class inherit QThread to play send the audio to the AudioOutput inside a thread.
Definition at line 35 of file audiocore.hpp.
void AudioCore::init | ( | Cores * | cores | ) | [virtual] |
Called once, after all CORES are loaded.
cores | The already loaded CORES. |
Implements Core.
Definition at line 39 of file audiocore.cpp.