Merge pull request #8719 from CookiePLMonster/dolby-pro-logic-quality-fixup-ii

AudioPane: Do not enable DPL II quality slider with HLE audio on init
This commit is contained in:
Léo Lam 2020-04-27 17:11:56 +02:00 committed by GitHub
commit e6351e1d4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ void AudioPane::LoadSettings()
m_dolby_quality_slider->setValue(int(Config::Get(Config::MAIN_DPL2_QUALITY)));
m_dolby_quality_latency_label->setText(
GetDPL2ApproximateLatencyLabel(Config::Get(Config::MAIN_DPL2_QUALITY)));
if (AudioCommon::SupportsDPL2Decoder(current))
if (AudioCommon::SupportsDPL2Decoder(current) && !m_dsp_hle->isChecked())
{
EnableDolbyQualityWidgets(m_dolby_pro_logic->isChecked());
}