[Project64-Audio] Fix clicks with Sync using audio OFF

This commit is contained in:
Frank-74 2019-01-16 22:53:49 +00:00 committed by GitHub
parent 52c62e5707
commit 6d7c2e09a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ void SoundDriverBase::AI_LenChanged(uint8_t *start, uint32_t length)
WriteTrace(TraceAudioDriver, TraceDebug, "Start"); WriteTrace(TraceAudioDriver, TraceDebug, "Start");
// Bleed off some of this buffer to smooth out audio // Bleed off some of this buffer to smooth out audio
if (length < m_MaxBufferSize && g_settings->SyncAudio()) if (g_settings->SyncAudio() || !g_settings->FullSpeed())
{ {
while ((m_BufferRemaining) == m_MaxBufferSize) while ((m_BufferRemaining) == m_MaxBufferSize)
{ {