mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-13 11:39:09 +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
|
@ -161,15 +161,15 @@ void OpenALStream::Update()
|
|||
m_sound_sync_event.Set();
|
||||
}
|
||||
|
||||
void OpenALStream::Clear(bool mute)
|
||||
void OpenALStream::SetRunning(bool running)
|
||||
{
|
||||
if (mute)
|
||||
if (running)
|
||||
{
|
||||
palSourceStop(m_source);
|
||||
palSourcePlay(m_source);
|
||||
}
|
||||
else
|
||||
{
|
||||
palSourcePlay(m_source);
|
||||
palSourceStop(m_source);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue