Wt::SDLMixer::Channel Class Reference

#include <sdlmixer.h>

Inherits Wt::Audio::Channel.

List of all members.

Public Member Functions

virtual void setVolume (int)
virtual void play (Audio::Chunk &chunk, int duration=-1)
virtual void fadeIn (Audio::Chunk &chunk, int ms, int duration=-1)
virtual void fadeOut (int ms)
virtual void pause ()
 pause channel
virtual void resume ()
 resume channel
virtual void stop (int ms=0)
 stop channel
virtual bool playing () const
virtual bool paused () const
virtual int fading () const
virtual Audio::Chunkchunk () const

Protected Member Functions

 Channel (int id)

Friends

class Audio
class SDLMixer
class Chunk


Constructor & Destructor Documentation

Wt::SDLMixer::Channel::Channel ( int  id  )  [protected]


Member Function Documentation

Audio::Chunk * Wt::SDLMixer::Channel::chunk (  )  const [virtual]

Reimplemented from Wt::Audio::Channel.

void Wt::SDLMixer::Channel::fadeIn ( Audio::Chunk chunk,
int  ms,
int  duration = -1 
) [virtual]

Reimplemented from Wt::Audio::Channel.

void Wt::SDLMixer::Channel::fadeOut ( int  ms  )  [virtual]

Reimplemented from Wt::Audio::Channel.

int Wt::SDLMixer::Channel::fading (  )  const [virtual]

Reimplemented from Wt::Audio::Channel.

void Wt::SDLMixer::Channel::pause (  )  [virtual]

pause channel

Reimplemented from Wt::Audio::Channel.

bool Wt::SDLMixer::Channel::paused (  )  const [virtual]

Reimplemented from Wt::Audio::Channel.

void Wt::SDLMixer::Channel::play ( Audio::Chunk chunk,
int  duration = -1 
) [virtual]

Reimplemented from Wt::Audio::Channel.

bool Wt::SDLMixer::Channel::playing (  )  const [virtual]

Reimplemented from Wt::Audio::Channel.

void Wt::SDLMixer::Channel::resume (  )  [virtual]

resume channel

Reimplemented from Wt::Audio::Channel.

void Wt::SDLMixer::Channel::setVolume ( int   )  [virtual]

Reimplemented from Wt::Audio::Channel.

void Wt::SDLMixer::Channel::stop ( int  ms = 0  )  [virtual]

stop channel

Reimplemented from Wt::Audio::Channel.


Friends And Related Function Documentation

friend class Audio [friend]

Reimplemented from Wt::Audio::Channel.

friend class Chunk [friend]

friend class SDLMixer [friend]


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

Generated Fri Jul 28 19:22:38 2006.
Copyright © 1998-2003 by the respective authors.

This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.