defuze.me  Client
Public Slots | Signals | Public Member Functions | Protected Member Functions
Player::AudioPlayer Class Reference
Inheritance diagram for Player::AudioPlayer:
Inheritance graph
[legend]
Collaboration diagram for Player::AudioPlayer:
Collaboration graph
[legend]

List of all members.

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::AudioIOgetAudioInput (const Audio::AudioIO *output)
const Audio::AudioIOgetOutputDevice (const AudioIO *input) const

Protected Member Functions

qint64 writeData (const char *data, qint64 maxlen)
qint64 readData (char *data, qint64 maxlen)

Detailed Description

Definition at line 22 of file audioplayer.hpp.


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