From 48cb6d4034a6b8933525688be21fd470fe968bc8 Mon Sep 17 00:00:00 2001 From: Tobi Date: Sun, 25 Jul 2021 11:20:23 +0200 Subject: [PATCH] Update sound.hpp --- sound.hpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/sound.hpp b/sound.hpp index 467e8b7..a2cd1a7 100644 --- a/sound.hpp +++ b/sound.hpp @@ -6,12 +6,10 @@ /** Sound Class */ class sound { public: - /** - * Construct new Soundeffect - * path: Path to the .wav file - * channel: the channel 1-23 - * toloop: true:loop the sound, false: don't loop - */ + /// \brief Construct new Soundeffect + /// \param path Path to the .wav file + /// \param channel the channel 1-23 + /// \param toloop true:loop the sound, false: don't loop sound(const std::string& path, int channel = 1, bool toloop = false); /** deconstruct the sound */ ~sound();