MMSSound Class Reference
[Media playback (mmsmedia)]

Handles any kind of music playback. More...

#include <mmssound.h>

Inheritance diagram for MMSSound:

List of all members.


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.

Detailed Description

Handles any kind of music playback.

Author:
Stefan Schwarzer (stefan.schwarzer@diskohq.org)

Matthias Hardt (matthias.hardt@diskohq.org)

Jens Schneider (pupeider@gmx.de)

Guido Madaus (guido.madaus@diskohq.org)

Patrick Helterhoff (patrick.helterhoff@diskohq.org)

René Bählkow (rene.baehlkow@diskohq.org)

This class is derived from MMSAV and specialized in handling music playback.

Definition at line 53 of file mmssound.h.


Constructor & Destructor Documentation

MMSSound::MMSSound ( const bool  verbose = false  ) 

Constructor of MMSSound class.

Parameters:
verbose [in] if true the xine engine writes debug messages to stdout
See also:
MMSAV::MMSAV()

MMSAV::initialize()

Definition at line 66 of file mmssound.cpp.

MMSSound::~MMSSound (  ) 

Destructor of MMSSound class.

Definition at line 73 of file mmssound.cpp.


Member Function Documentation

void MMSSound::initialize ( const bool  verbose  )  [private]

void MMSSound::xineOpen (  )  [private]

Calls MMSAV::open() with the queue_cb callback.

Definition at line 83 of file mmssound.cpp.

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.

Parameters:
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.


Member Data Documentation

sigc::signal<void> MMSSound::onPlaybackFinished

callback that will be called if playback finished

Definition at line 78 of file mmssound.h.


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