diff options
| author | Michael M <mchtly@gmail.com> | 2017-10-21 12:34:51 -0700 |
|---|---|---|
| committer | Michael M <mchtly@gmail.com> | 2017-10-21 16:28:04 -0700 |
| commit | 7bcdd1a46a2e0964c0ea155d840cff1dbf573916 (patch) | |
| tree | be4e3413edce0d1ec85385a5a95915e320fe6ad5 /Source/Core/AudioCommon/XAudio2_7Stream.cpp | |
| parent | 78d5dbe032d4390fbc3bbfc81768b68c2062fa8f (diff) | |
SoundStream: remove unused m_muted and IsMuted
Diffstat (limited to 'Source/Core/AudioCommon/XAudio2_7Stream.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/XAudio2_7Stream.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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(); |
