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/XAudio2Stream.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Source/Core/AudioCommon/XAudio2Stream.cpp') diff --git a/Source/Core/AudioCommon/XAudio2Stream.cpp b/Source/Core/AudioCommon/XAudio2Stream.cpp index 827dfdf887..41214f181f 100644 --- a/Source/Core/AudioCommon/XAudio2Stream.cpp +++ b/Source/Core/AudioCommon/XAudio2Stream.cpp @@ -212,11 +212,9 @@ void XAudio2::SetVolume(int volume) void XAudio2::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