Update sound.hpp

This commit is contained in:
2021-07-25 00:07:17 +02:00
committed by GitHub
parent 3af5da9d3e
commit 4368d6d7ee

View File

@ -7,10 +7,10 @@
class sound { class sound {
public: public:
/** /**
*Construct new Soundeffect Construct new Soundeffect
*path: Path to the .wav file path: Path to the .wav file
*channel: the channel 1-23 channel: the channel 1-23
*toloop: true:loop the sound, false: don't loop toloop: true:loop the sound, false: don't loop
*/ */
sound(const std::string& path, int channel = 1, bool toloop = false); sound(const std::string& path, int channel = 1, bool toloop = false);
/** deconstruct the sound */ /** deconstruct the sound */