AudioStream: Reset resampler state on emptying buffers

This commit is contained in:
Connor McLaughlin
2021-01-11 03:58:14 +10:00
parent 43d01776dc
commit bc5fb850d4
3 changed files with 10 additions and 6 deletions

View File

@ -77,10 +77,11 @@ ConsoleSettingsWidget::ConsoleSettingsWidget(QtHostInterface* host_interface, QW
dialog->registerWidgetHelp(
m_ui.turboSpeed, tr("Turbo Speed"), "100%",
tr("Sets the turbo speed. This speed will be used when the turbo hotkey is pressed/toggled."));
dialog->registerWidgetHelp(m_ui.syncToHostRefreshRate, tr("Sync To Host Refresh Rate"), "100%",
tr("Adjusts the emulation speed so the console's refresh rate matches the host's refresh "
"rate, when VSync is enabled. This results in the smoothest animations possible, at "
"the cost of potentially increasing the emulation speed by less than 1%."));
dialog->registerWidgetHelp(
m_ui.syncToHostRefreshRate, tr("Sync To Host Refresh Rate"), "100%",
tr("Adjusts the emulation speed so the console's refresh rate matches the host's refresh rate, when VSync and "
"Audio Resampling is enabled. This results in the smoothest animations possible, at the cost of potentially "
"increasing the emulation speed by less than 1%."));
m_ui.cpuClockSpeed->setEnabled(m_ui.enableCPUClockSpeedControl->checkState() == Qt::Checked);
m_ui.cdromReadSpeedup->setCurrentIndex(m_host_interface->GetIntSettingValue("CDROM", "ReadSpeedup", 1) - 1);