From 7bcdd1a46a2e0964c0ea155d840cff1dbf573916 Mon Sep 17 00:00:00 2001 From: Michael M Date: Sat, 21 Oct 2017 12:34:51 -0700 Subject: SoundStream: remove unused m_muted and IsMuted --- Source/Core/AudioCommon/XAudio2_7Stream.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Source/Core/AudioCommon/XAudio2_7Stream.cpp') diff --git a/Source/Core/AudioCommon/XAudio2_7Stream.cpp b/Source/Core/AudioCommon/XAudio2_7Stream.cpp index 938ce5109d..6cd7bccbe7 100644 --- a/Source/Core/AudioCommon/XAudio2_7Stream.cpp +++ b/Source/Core/AudioCommon/XAudio2_7Stream.cpp @@ -200,11 +200,9 @@ void XAudio2_7::SetVolume(int volume) void XAudio2_7::Clear(bool mute) { - m_muted = mute; - if (m_voice_context) { - if (m_muted) + if (mute) m_voice_context->Stop(); else m_voice_context->Play(); -- cgit v1.2.3