mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
SoundStream: remove unused m_muted and IsMuted
This commit is contained in:
parent
78d5dbe032
commit
7bcdd1a46a
7 changed files with 5 additions and 20 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue