|
Module
|
#include <Sound.hpp>
Public Member Functions | |
| void | replay () |
| void | resume () |
| void | pause () |
| void | stop () |
| const std::string | getName () const |
| unsigned long | getTime () const |
| SoundClip * | getSoundClip () const |
| void | setTime (const unsigned long t) |
Friends | |
| class | AudioInterface |
| class | Book< Sound > |
| const std::string Sound::getName | ( | ) | const |
| SoundClip * Sound::getSoundClip | ( | ) | const |
| unsigned long Sound::getTime | ( | ) | const |
| void Sound::pause | ( | ) |
Pauses a Sound.
| void Sound::replay | ( | ) |
Replays the Sound from the beginning.
| void Sound::resume | ( | ) |
Resumes the Sound from where it was last paused.
| void Sound::setTime | ( | const unsigned long | t | ) |
Sets the time of this Sound.
| t | An unsigned long representing the time of the sound. |
| void Sound::stop | ( | ) |
Stops a Sound (pausing it, and setting it back to the beginning).
|
friend |
1.8.10