diff options
author | fritsch <Peter.Fruehberger@gmail.com> | 2024-10-12 14:59:09 +0200 |
---|---|---|
committer | fritsch <Peter.Fruehberger@gmail.com> | 2024-10-13 17:19:23 +0200 |
commit | eb62ba12e1d61e037aae40f320fdd1de5807b372 (patch) | |
tree | 6a0b5ab376d00c1b9c0446cde9f8172289cadd54 | |
parent | 33c70144f7dbfca50b05082bc88a9d6371e3be58 (diff) |
Use Silence again for all formats (AddPause)
-rw-r--r-- | xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAESink.cpp | 7 |
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 { |