diff options
Diffstat (limited to 'Source/Core/AudioCommon/AudioCommon.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/AudioCommon.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/Source/Core/AudioCommon/AudioCommon.cpp b/Source/Core/AudioCommon/AudioCommon.cpp index 5152f0c8f5..f5438faca9 100644 --- a/Source/Core/AudioCommon/AudioCommon.cpp +++ b/Source/Core/AudioCommon/AudioCommon.cpp @@ -121,25 +121,6 @@ namespace AudioCommon return backends; } - void PauseAndLock(bool doLock, bool unpauseOnUnlock) - { - if (g_sound_stream) - { - // audio typically doesn't maintain its own "paused" state - // (that's already handled by the CPU and whatever else being paused) - // so it should be good enough to only lock/unlock here. - CMixer* pMixer = g_sound_stream->GetMixer(); - if (pMixer) - { - std::mutex& csMixing = pMixer->MixerCritical(); - if (doLock) - csMixing.lock(); - else - csMixing.unlock(); - } - } - } - void UpdateSoundStream() { if (g_sound_stream) |
