SoundStream: remove unused m_muted and IsMuted

This commit is contained in:
Michael M
2017-10-21 12:34:51 -07:00
parent 78d5dbe032
commit 7bcdd1a46a
7 changed files with 5 additions and 20 deletions

View File

@ -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();