mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Fix latency field being initially enabled on audio backends not supporting it
This commit is contained in:
parent
3f68aceaca
commit
147636986d
1 changed files with 2 additions and 1 deletions
|
@ -385,7 +385,8 @@ void AudioPane::OnEmulationStateChanged(bool running)
|
|||
m_dolby_pro_logic->setEnabled(!running);
|
||||
EnableDolbyQualityWidgets(!running && m_dolby_pro_logic->isChecked());
|
||||
}
|
||||
if (m_latency_control_supported)
|
||||
if (m_latency_control_supported &&
|
||||
AudioCommon::SupportsLatencyControl(SConfig::GetInstance().sBackend))
|
||||
{
|
||||
m_latency_label->setEnabled(!running);
|
||||
m_latency_spin->setEnabled(!running);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue