summaryrefslogtreecommitdiff
path: root/src/resources/soundeffect.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-25 21:18:00 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-25 21:18:00 +0300
commit4e59f92aedaa8f19897a1e70fdaa983730d6ba03 (patch)
tree15dd3fdd58e75bc50bf66e13bcee7b79ef8ba1ac /src/resources/soundeffect.h
parent6ac3afcb4f0a68488fde23afa0aa13362af2edba (diff)
downloadplus-4e59f92aedaa8f19897a1e70fdaa983730d6ba03.tar.gz
plus-4e59f92aedaa8f19897a1e70fdaa983730d6ba03.tar.bz2
plus-4e59f92aedaa8f19897a1e70fdaa983730d6ba03.tar.xz
plus-4e59f92aedaa8f19897a1e70fdaa983730d6ba03.zip
Add memory count function into SoundEffect.
Diffstat (limited to 'src/resources/soundeffect.h')
-rw-r--r--src/resources/soundeffect.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/soundeffect.h b/src/resources/soundeffect.h
index 3fd0f4094..2eed8fbfd 100644
--- a/src/resources/soundeffect.h
+++ b/src/resources/soundeffect.h
@@ -65,6 +65,8 @@ class SoundEffect final : public Resource
bool play(const int loops, const int volume,
const int channel = -1) const;
+ int calcMemoryLocal() override final;
+
protected:
/**
* Constructor.