From 99d386b61a29e6f8cadf2f91019017736c681f00 Mon Sep 17 00:00:00 2001 From: erihel Date: Tue, 9 Apr 2013 13:20:31 +0200 Subject: * Fixed problem with MuteAll and some sounds not playing after muting other sounds (like game menu sound) --- src/sound/oalsound/channel.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/sound/oalsound/channel.h') 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 mOper; bool mReady; bool mLoop; + bool mMute; }; -- cgit v1.2.3-1-g7c22