Noatun API Documentation

Engine Class Reference

#include <engine.h>

Inheritance diagram for Engine:

Inheritance graph
[legend]
List of all members.

Public Slots

bool open (const PlaylistItem &file)
bool play ()
void pause ()
void stop ()
void seek (int msec)
void setVolume (int percent)
void connectPlayObject ()

Signals

void done ()
void artsError ()
void aboutToPlay ()
void receivedStreamMeta (const QString &streamName, const QString &streamGenre, const QString &streamUrl, const QString &streamBitrate, const QString &trackTitle, const QString &trackUrl)
void playingFailed ()

Public Member Functions

 Engine (QObject *parent=0)
void setInitialized ()
bool initialized () const
int state ()
int position ()
int length ()
int volume () const
Arts::SoundServerV2 * server () const
Arts::PlayObject playObject () const
Arts::SoundServerV2 * simpleSoundServer () const
Noatun::StereoEffectStack * effectStack () const
Noatun::Equalizer * equalizer () const
Noatun::StereoEffectStack * visualizationStack () const
Noatun::StereoEffectStack * globalEffectStack () const
Noatun::Session * session () const

Detailed Description

Handles all playing, connecting to aRts. Does almost everything related to multimedia. Most interfacing should be done with Player

Definition at line 33 of file engine.h.


Member Function Documentation

void Engine::artsError  )  [signal]
 

emitted when arts dies and noatun has to start it again. This is called when the new arts is already initialized

bool Engine::open const PlaylistItem file  )  [slot]
 

opens the file, use play() to start playing

void Engine::pause  )  [slot]
 

Terminates playing, does not close the file

bool Engine::play  )  [slot]
 

Continues playing

void Engine::seek int  msec  )  [slot]
 

skips to a timecode unit is milliseconds

void Engine::stop  )  [slot]
 

resets the engine


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for Noatun 2.6.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Oct 21 23:49:46 2004 by doxygen 1.3.8-20040913 written by Dimitri van Heesch, © 1997-2003