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 ()

Public Member Functions

 Engine (QObject *parent=0)
 ~Engine ()
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.


Constructor & Destructor Documentation

Engine::Engine QObject parent = 0  ) 
 

Engine::~Engine  ) 
 


Member Function Documentation

void Engine::aboutToPlay  )  [signal]
 

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

void Engine::connectPlayObject  )  [slot]
 

void Engine::done  )  [signal]
 

Noatun::StereoEffectStack* Engine::effectStack  )  const
 

Noatun::Equalizer* Engine::equalizer  )  const
 

Noatun::StereoEffectStack* Engine::globalEffectStack  )  const
 

bool Engine::initialized  )  const
 

int Engine::length  ) 
 

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

Arts::PlayObject Engine::playObject  )  const
 

int Engine::position  ) 
 

void Engine::seek int  msec  )  [slot]
 

skips to a timecode unit is milliseconds

Arts::SoundServerV2* Engine::server  )  const
 

Noatun::Session* Engine::session  )  const
 

void Engine::setInitialized  ) 
 

void Engine::setVolume int  percent  )  [slot]
 

Arts::SoundServerV2* Engine::simpleSoundServer  )  const
 

int Engine::state  ) 
 

void Engine::stop  )  [slot]
 

resets the engine

Noatun::StereoEffectStack* Engine::visualizationStack  )  const
 

int Engine::volume  )  const
 


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 Fri Oct 22 00:20:37 2004 by doxygen 1.3.8-20040913 written by Dimitri van Heesch, © 1997-2003