mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
SoundStream: rename Clear(mute) to SetRunning(running)
This commit is contained in:
@ -210,14 +210,14 @@ void XAudio2::SetVolume(int volume)
|
||||
m_mastering_voice->SetVolume(m_volume);
|
||||
}
|
||||
|
||||
void XAudio2::Clear(bool mute)
|
||||
void XAudio2::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