summaryrefslogtreecommitdiffstats
path: root/src/sound/oalsound/channel.h
diff options
context:
space:
mode:
authorerihel <erihel@gmail.com>2013-04-09 13:20:31 +0200
committererihel <erihel@gmail.com>2013-04-09 13:20:31 +0200
commit99d386b61a29e6f8cadf2f91019017736c681f00 (patch)
treedfa93a0d9f4cc0ebf3c5c49f17b20e9eef10fa81 /src/sound/oalsound/channel.h
parenta66abd4990c6c415bafe3ce879bc67d7539a2901 (diff)
downloadcolobot-99d386b61a29e6f8cadf2f91019017736c681f00.tar.gz
colobot-99d386b61a29e6f8cadf2f91019017736c681f00.tar.bz2
colobot-99d386b61a29e6f8cadf2f91019017736c681f00.zip
* Fixed problem with MuteAll and some sounds not playing after muting other sounds (like game menu sound)
Diffstat (limited to 'src/sound/oalsound/channel.h')
-rw-r--r--src/sound/oalsound/channel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sound/oalsound/channel.h b/src/sound/oalsound/channel.h
index 883ddf2..f5f3bb9 100644
--- a/src/sound/oalsound/channel.h
+++ b/src/sound/oalsound/channel.h
@@ -86,6 +86,8 @@ class Channel
void ResetOper();
Sound GetSoundType();
void SetLoop(bool);
+ void Mute(bool);
+ bool IsMuted();
private:
Buffer *mBuffer;
@@ -99,4 +101,5 @@ class Channel
std::deque<SoundOper> mOper;
bool mReady;
bool mLoop;
+ bool mMute;
};