diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-24 02:09:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-24 02:09:36 +0300 |
commit | 890349c3d1ad29ff668a3ef7fd7c535ed9a876ef (patch) | |
tree | 343a3e21c2ded430d912b9b124d6239933ff3d25 /src/resources/soundeffect.cpp | |
parent | 39b61e709ca41804af30410f4a82a99f34900a29 (diff) | |
download | plus-890349c3d1ad29ff668a3ef7fd7c535ed9a876ef.tar.gz plus-890349c3d1ad29ff668a3ef7fd7c535ed9a876ef.tar.bz2 plus-890349c3d1ad29ff668a3ef7fd7c535ed9a876ef.tar.xz plus-890349c3d1ad29ff668a3ef7fd7c535ed9a876ef.zip |
improve soundmanager class.
Diffstat (limited to 'src/resources/soundeffect.cpp')
-rw-r--r-- | src/resources/soundeffect.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/soundeffect.cpp b/src/resources/soundeffect.cpp index 48772291b..2da3319e8 100644 --- a/src/resources/soundeffect.cpp +++ b/src/resources/soundeffect.cpp @@ -49,7 +49,8 @@ Resource *SoundEffect::load(SDL_RWops *const rw) } } -bool SoundEffect::play(const int loops, const int volume, const int channel) +bool SoundEffect::play(const int loops, const int volume, + const int channel) const { Mix_VolumeChunk(mChunk, volume); |