mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
SoundStream: rename Clear(mute) to SetRunning(running)
This commit is contained in:
@ -198,14 +198,14 @@ void XAudio2_7::SetVolume(int volume)
|
||||
m_mastering_voice->SetVolume(m_volume);
|
||||
}
|
||||
|
||||
void XAudio2_7::Clear(bool mute)
|
||||
void XAudio2_7::SetRunning(bool running)
|
||||
{
|
||||
if (m_voice_context)
|
||||
{
|
||||
if (mute)
|
||||
m_voice_context->Stop();
|
||||
else
|
||||
if (running)
|
||||
m_voice_context->Play();
|
||||
else
|
||||
m_voice_context->Stop();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user