summaryrefslogtreecommitdiffstats
path: root/xbmc/settings
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 09:25:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 09:25:13 +0000
commite353c8eff2bef4b84c539d4c03dc7c0a5adf9f9b (patch)
tree7ac20f83cf66e65d9e27e7be128f2142324466d7 /xbmc/settings
parentAdding upstream version 2:20.4+dfsg. (diff)
downloadkodi-upstream.tar.xz
kodi-upstream.zip
Adding upstream version 2:20.5+dfsg.upstream/2%20.5+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'xbmc/settings')
-rw-r--r--xbmc/settings/AdvancedSettings.cpp1
-rw-r--r--xbmc/settings/AdvancedSettings.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/xbmc/settings/AdvancedSettings.cpp b/xbmc/settings/AdvancedSettings.cpp
index 4fd93d0..12c8a9e 100644
--- a/xbmc/settings/AdvancedSettings.cpp
+++ b/xbmc/settings/AdvancedSettings.cpp
@@ -594,6 +594,7 @@ void CAdvancedSettings::ParseSettingsFile(const std::string &file)
XMLUtils::GetFloat(pElement, "limiterrelease", m_limiterRelease, 0.001f, 100.0f);
XMLUtils::GetUInt(pElement, "maxpassthroughoffsyncduration", m_maxPassthroughOffSyncDuration,
10, 100);
+ XMLUtils::GetBoolean(pElement, "superviseaudiodelay", m_superviseAudioDelay);
}
pElement = pRootElement->FirstChildElement("x11");
diff --git a/xbmc/settings/AdvancedSettings.h b/xbmc/settings/AdvancedSettings.h
index 4ba4e7e..0e5c4fc 100644
--- a/xbmc/settings/AdvancedSettings.h
+++ b/xbmc/settings/AdvancedSettings.h
@@ -160,6 +160,7 @@ class CAdvancedSettings : public ISettingCallback, public ISettingsHandler
float m_videoIgnorePercentAtEnd;
float m_audioApplyDrc;
unsigned int m_maxPassthroughOffSyncDuration = 10; // when 10 ms off adjust
+ bool m_superviseAudioDelay = false; // Android only to correct broken audio firmwares
int m_videoVDPAUScaling;
float m_videoNonLinStretchRatio;