5 #include <SDL/SDL_mixer.h>
13 typedef std::shared_ptr<Sound>
shared;
17 void play(
const std::string& fileName)
const;
void stop()
Definition: sound.cpp:41
Sound()
Definition: sound.cpp:20
void play(const std::string &fileName) const
Definition: sound.cpp:46
bool in_error_state() const
bool is_stopped() const
Definition: sound.cpp:65
std::shared_ptr< Sound > shared
Definition: sound.h:13
bool is_paused() const
Definition: sound.cpp:60
void init_audio_device()
Definition: sound.cpp:53
~Sound()
Definition: sound.cpp:24
void pause()
Definition: sound.cpp:29
bool is_playing() const
Definition: sound.cpp:70