#include <mmssound.h>
Public Member Functions | |
MMSSound (const bool verbose=false) | |
Constructor of MMSSound class. | |
~MMSSound () | |
Destructor of MMSSound class. | |
void | startPlaying (string mrl, bool cont) |
Starts playing. | |
void | ffwd () |
Playback will be switched to fast forward. | |
Public Attributes | |
sigc::signal< void > | onPlaybackFinished |
callback that will be called if playback finished | |
Private Member Functions | |
void | initialize (const bool verbose) |
void | xineOpen () |
Calls MMSAV::open() with the queue_cb callback. |
This class is derived from MMSAV and specialized in handling music playback.
Definition at line 53 of file mmssound.h.
MMSSound::MMSSound | ( | const bool | verbose = false |
) |
Constructor of MMSSound class.
verbose | [in] if true the xine engine writes debug messages to stdout |
Definition at line 66 of file mmssound.cpp.
MMSSound::~MMSSound | ( | ) |
void MMSSound::initialize | ( | const bool | verbose | ) | [private] |
void MMSSound::xineOpen | ( | ) | [private] |
void MMSSound::startPlaying | ( | string | mrl, | |
bool | cont | |||
) |
Starts playing.
If the continue flag is set it tries to continue at the position where it was stopped before.
mrl | MRL to play | |
cont | if true it tries to continue at a position stopped before |
Reimplemented from MMSAV.
Definition at line 101 of file mmssound.cpp.
void MMSSound::ffwd | ( | ) |
Playback will be switched to fast forward.
There are two different speed settings for fast forward. Twice as fast and four times as fast.
Reimplemented from MMSAV.
Definition at line 117 of file mmssound.cpp.
sigc::signal<void> MMSSound::onPlaybackFinished |