24 MySound(std::string
const &texturePath);
MySound(std::string const &texturePath)
Construct a new My Sound object.
Definition: MySound.cpp:11
~MySound()
Destroy the My Sound object.
Definition: MySound.cpp:18
void play()
Play the sound.
Definition: MySound.cpp:23
void setVolume(float volume)
Set the volume of the sound.
Definition: MySound.cpp:53
bool isPlaying() const
Check if the sound is playing.
Definition: MySound.cpp:48
void stop()
Stop the sound.
Definition: MySound.cpp:33
void resume()
Resume the sound.
Definition: MySound.cpp:43
MySound class.
Definition: MySound.hpp:18
void playMulti()
Play the sound using a multichannel buffer pool.
Definition: MySound.cpp:28
void pause()
Pause the sound.
Definition: MySound.cpp:38