defuze.me
Client
|
Public Slots | |
void | unloadTrack () |
void | play () |
void | stop () |
Signals | |
void | canIHasANewTrack () |
Emited when the player wants a new track. | |
void | trackHasFinishedPlaying () |
Emited when the player reach the end of the track. | |
void | almostFinished () |
Emited few seconds before end to start crossfading. | |
void | paused () |
void | played () |
void | stopped () |
void | finished () |
Public Member Functions | |
AudioPlayer (QString playerName) | |
AudioPlayer (QString playerName, AudioPlayerWidget *widget, Audio::AudioDecoder *decoder, Audio::AudioOutputDevice *outputDevice) | |
void | init () |
bool | loadTrack (Queue::Queueable *elem) |
Load a Track into the player. | |
bool | isPlaying () const |
Return if the player is playing or not. | |
qint64 | readData (char *data, qint64 maxlen, AudioIO *from) |
Audio::AudioIO * | getAudioInput (const Audio::AudioIO *output) |
const Audio::AudioIO * | getOutputDevice (const AudioIO *input) const |
Protected Member Functions | |
qint64 | writeData (const char *data, qint64 maxlen) |
qint64 | readData (char *data, qint64 maxlen) |
Definition at line 22 of file audioplayer.hpp.