mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-27 08:05:41 +00:00
CommonHostInterface: Don't reset volume when fast forwarding
This commit is contained in:
parent
6e9ebfa5b5
commit
9756168940
|
@ -926,7 +926,10 @@ void CommonHostInterface::UpdateSpeedLimiterState()
|
|||
|
||||
m_audio_stream->SetInputSampleRate(input_sample_rate);
|
||||
m_audio_stream->SetWaitForBufferFill(!m_display_all_frames);
|
||||
|
||||
if (g_settings.audio_fast_forward_volume != g_settings.audio_output_volume)
|
||||
m_audio_stream->SetOutputVolume(GetAudioOutputVolume());
|
||||
|
||||
m_audio_stream->SetSync(audio_sync_enabled);
|
||||
if (audio_sync_enabled)
|
||||
m_audio_stream->EmptyBuffers();
|
||||
|
|
Loading…
Reference in a new issue