defuze.me  Client
Signals | Public Member Functions | Static Public Member Functions
Audio::AudioCore Class Reference

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>

Inheritance diagram for Audio::AudioCore:
Inheritance graph
[legend]
Collaboration diagram for Audio::AudioCore:
Collaboration graph
[legend]

List of all members.

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
AudioDecodernewAudioDecoder (QString playerName)
AudioMixernewAudioMixer (const QString &name="", AudioIO *input=0)
AudioOutputDevicenewAudioDevice (QAudioDeviceInfo device=QAudioDeviceInfo::defaultOutputDevice())
AudioMixergetMasterMixer ()
QList< AudioMixer * > & getMixers ()
void startCrossfade (AudioMixer *from, AudioMixer *to)
void stopCrossfade ()

Static Public Member Functions

static QString formatSeconds (int seconds)

Detailed Description

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.


Member Function Documentation

void AudioCore::init ( Cores cores) [virtual]

Called once, after all CORES are loaded.

Parameters:
coresThe already loaded CORES.

Implements Core.

Definition at line 39 of file audiocore.cpp.


The documentation for this class was generated from the following files: