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:
@ -78,9 +78,9 @@ void AlsaSound::SoundLoop()
|
||||
m_thread_status.store(ALSAThreadStatus::STOPPED);
|
||||
}
|
||||
|
||||
void AlsaSound::Clear(bool muted)
|
||||
void AlsaSound::SetRunning(bool running)
|
||||
{
|
||||
m_thread_status.store(muted ? ALSAThreadStatus::PAUSED : ALSAThreadStatus::RUNNING);
|
||||
m_thread_status.store(running ? ALSAThreadStatus::RUNNING : ALSAThreadStatus::PAUSED);
|
||||
cv.notify_one(); // Notify thread that status has changed
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user