CommonHostInterface: Always wait for audio buffer fill

Fixes underflows on booting, at the cost of enforcing the
user-configured minimum latency.
This commit is contained in:
Connor McLaughlin 2021-07-13 22:26:32 +10:00
parent 313237747b
commit 921c5cdfbf
1 changed files with 1 additions and 1 deletions

View File

@ -936,7 +936,7 @@ void CommonHostInterface::UpdateSpeedLimiterState()
Log_InfoPrintf("Audio input sample rate: %u hz", input_sample_rate);
m_audio_stream->SetInputSampleRate(input_sample_rate);
m_audio_stream->SetWaitForBufferFill(!m_display_all_frames);
m_audio_stream->SetWaitForBufferFill(true);
if (g_settings.audio_fast_forward_volume != g_settings.audio_output_volume)
m_audio_stream->SetOutputVolume(GetAudioOutputVolume());