mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-18 08:19:59 +00:00
SoundStream: rename Clear(mute) to SetRunning(running)
This commit is contained in:
parent
d6985fc3e8
commit
b031d3316c
10 changed files with 20 additions and 20 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue