Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Engine Class Reference

#include <engine.h>

Inheritance diagram for Engine::

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

Signals

void done ()
void artsError ()

Public Methods

 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


Constructor & Destructor Documentation

Engine::Engine QObject * parent = 0
 

Engine::~Engine
 


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

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:
Generated at Mon Apr 1 11:45:01 2002 for noatun by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001