summaryrefslogtreecommitdiff
path: root/src/sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound.h')
-rw-r--r--src/sound.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/sound.h b/src/sound.h
index c0f2f3ba..96cb8baf 100644
--- a/src/sound.h
+++ b/src/sound.h
@@ -40,6 +40,16 @@ typedef short SOUND_ID;
class Sound {
public:
/**
+ * Constructor.
+ */
+ Sound();
+
+ /**
+ * Destructor.
+ */
+ ~Sound();
+
+ /**
* Installs the sound engine.
*/
void init();
@@ -123,10 +133,6 @@ class Sound {
*/
void clearCache();
- Sound() { installed = false; }
-
- ~Sound() { stopMusic(); close(); }
-
private:
bool installed;