aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfritsch <Peter.Fruehberger@gmail.com>2024-10-12 14:59:09 +0200
committerfritsch <Peter.Fruehberger@gmail.com>2024-10-13 17:19:23 +0200
commiteb62ba12e1d61e037aae40f320fdd1de5807b372 (patch)
tree6a0b5ab376d00c1b9c0446cde9f8172289cadd54
parent33c70144f7dbfca50b05082bc88a9d6371e3be58 (diff)
Use Silence again for all formats (AddPause)
-rw-r--r--xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAESink.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAESink.cpp b/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAESink.cpp
index f0cce1885b..9eb39fdc2c 100644
--- a/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAESink.cpp
+++ b/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAESink.cpp
@@ -1207,12 +1207,7 @@ void CActiveAESink::SetSilenceTimer()
m_extSilenceTimeout = XbmcThreads::EndTime<decltype(m_extSilenceTimeout)>::Max();
else if (m_extAppFocused) // handles no playback/GUI and playback in pause and seek
{
- // only true with AudioTrack RAW + passthrough + TrueHD
- const bool noSilenceOnPause =
- !m_needIecPack && m_requestedFormat.m_dataFormat == AE_FMT_RAW &&
- m_sinkFormat.m_streamInfo.m_type == CAEStreamInfo::STREAM_TYPE_TRUEHD;
-
- m_extSilenceTimeout = (noSilenceOnPause) ? 0ms : m_silenceTimeOut;
+ m_extSilenceTimeout = m_silenceTimeOut;
}
else
{