Tinman
1.0
|
#include <sound.h>
Public Types | |
typedef std::shared_ptr< Sound > | shared |
Public Member Functions | |
Sound () | |
~Sound () | |
void | play (const std::string &fileName) const |
void | pause () |
void | stop () |
Private Member Functions | |
void | init_audio_device () |
bool | is_paused () const |
bool | is_stopped () const |
bool | is_playing () const |
bool | in_error_state () const |
typedef std::shared_ptr<Sound> Sound::shared |
Sound::Sound | ( | ) |
Sound::~Sound | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
void Sound::pause | ( | ) |
void Sound::play | ( | const std::string & | fileName | ) | const |
void Sound::stop | ( | ) |