25 MyMusic(std::string
const &filename);
float getVolume() const
Get the volume of the music.
Definition: MyMusic.cpp:49
void stop()
Stop the music.
Definition: MyMusic.cpp:29
void setVolume(float volume)
Set the volume of the music.
Definition: MyMusic.cpp:54
void updateStream()
Update the stream.
Definition: MyMusic.cpp:60
void pause()
Pause the music.
Definition: MyMusic.cpp:34
MyMusic(std::string const &filename)
Construct a new My Music object.
Definition: MyMusic.cpp:11
void resume()
Resume the music.
Definition: MyMusic.cpp:39
~MyMusic()
Destroy the My Music object.
Definition: MyMusic.cpp:19
Music class.
Definition: MyMusic.hpp:18
bool isPlaying() const
Check if the music is playing.
Definition: MyMusic.cpp:44
void play()
Play the music.
Definition: MyMusic.cpp:24