#include <sdlmixer.h>
Inherits Wt::Audio::Chunk.
Public Member Functions | |
virtual void | setVolume (int volume) |
virtual void | play (int duration=-1) |
virtual void | fadeIn (int ms, int duration=-1) |
virtual void | fadeOut (int ms) |
virtual void | pause () |
pause chunk | |
virtual void | resume () |
resume chunk | |
virtual void | stop (int ms=0) |
stop chunk | |
virtual bool | playing () const |
virtual bool | paused () const |
operator Mix_Chunk * () | |
operator const Mix_Chunk * () const | |
virtual Audio::Channel * | channel () const |
virtual Audio::Chunk * | clone () const |
virtual void | detach () |
~Chunk () | |
Protected Member Functions | |
Chunk (Mix_Chunk *chunk) | |
Friends | |
class | SDLMixer |
class | Channel |
Classes | |
class | Deleter |
boost smart pointers with it |
Wt::SDLMixer::Chunk::~Chunk | ( | ) | [virtual] |
Reimplemented from Wt::Audio::Chunk.
Wt::SDLMixer::Chunk::Chunk | ( | Mix_Chunk * | chunk | ) | [protected] |
Audio::Channel * Wt::SDLMixer::Chunk::channel | ( | ) | const [virtual] |
Reimplemented from Wt::Audio::Chunk.
Audio::Chunk * Wt::SDLMixer::Chunk::clone | ( | ) | const [virtual] |
Reimplemented from Wt::Audio::Chunk.
void Wt::SDLMixer::Chunk::detach | ( | ) | [virtual] |
Reimplemented from Wt::Audio::Chunk.
void Wt::SDLMixer::Chunk::fadeIn | ( | int | ms, | |
int | duration = -1 | |||
) | [virtual] |
Reimplemented from Wt::Audio::Chunk.
void Wt::SDLMixer::Chunk::fadeOut | ( | int | ms | ) | [virtual] |
Reimplemented from Wt::Audio::Chunk.
Wt::SDLMixer::Chunk::operator const Mix_Chunk * | ( | ) | const [inline] |
Wt::SDLMixer::Chunk::operator Mix_Chunk * | ( | ) | [inline] |
void Wt::SDLMixer::Chunk::pause | ( | ) | [virtual] |
bool Wt::SDLMixer::Chunk::paused | ( | ) | const [virtual] |
Reimplemented from Wt::Audio::Chunk.
void Wt::SDLMixer::Chunk::play | ( | int | duration = -1 |
) | [virtual] |
Reimplemented from Wt::Audio::Chunk.
bool Wt::SDLMixer::Chunk::playing | ( | ) | const [virtual] |
Reimplemented from Wt::Audio::Chunk.
void Wt::SDLMixer::Chunk::resume | ( | ) | [virtual] |
void Wt::SDLMixer::Chunk::setVolume | ( | int | volume | ) | [virtual] |
Reimplemented from Wt::Audio::Chunk.
void Wt::SDLMixer::Chunk::stop | ( | int | ms = 0 |
) | [virtual] |
friend class Channel [friend] |
friend class SDLMixer [friend] |
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.