summaryrefslogtreecommitdiff
path: root/src/common.hpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2018-03-26 14:28:20 +0200
committerPaweł Redman <pawel.redman@gmail.com>2018-03-26 14:28:20 +0200
commit0a7f8a48a9161e16e1366d492655fd7df04f48a3 (patch)
tree7d957232d075b390f9bdccfddddc968a2a9214f6 /src/common.hpp
parenta016a156e76f7394c5632da325ab0b453cfb3b37 (diff)
Destroy sounds that finished playing.
Diffstat (limited to 'src/common.hpp')
-rw-r--r--src/common.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.hpp b/src/common.hpp
index df9c8d1..181139f 100644
--- a/src/common.hpp
+++ b/src/common.hpp
@@ -393,6 +393,8 @@ namespace render {
}
namespace audio {
+ void clean_sounds(void);
+
class sound_t {
sf::SoundBuffer buffer;