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/OpenALStream.cpp | |
| parent | 78d5dbe032d4390fbc3bbfc81768b68c2062fa8f (diff) | |
SoundStream: remove unused m_muted and IsMuted
Diffstat (limited to 'Source/Core/AudioCommon/OpenALStream.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/OpenALStream.cpp | 4 |
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); } |
