summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/OpenALStream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/AudioCommon/OpenALStream.cpp')
-rw-r--r--Source/Core/AudioCommon/OpenALStream.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/Core/AudioCommon/OpenALStream.cpp b/Source/Core/AudioCommon/OpenALStream.cpp
index 191452b7f3..ed834fdac9 100644
--- a/Source/Core/AudioCommon/OpenALStream.cpp
+++ b/Source/Core/AudioCommon/OpenALStream.cpp
@@ -163,9 +163,7 @@ void OpenALStream::Update()
void OpenALStream::Clear(bool mute)
{
- m_muted = mute;
-
- if (m_muted)
+ if (mute)
{
palSourceStop(m_source);
}