Live streams stall with analogue output activated

  • Version: LibreElec 10.0.1

    Hardware: RPi4

    Audio: Analogue (activated in config.txt)

    Issues with playing any live content. It plays smoothly for about a minute and then it stops and restarts again.

    As an example I played a local file *.m3u which references the real audio stream(e.g. http://st01.dlf.de/dlf/01/128/mp3/stream.mp3)

    Noticeable in the Log are multiple entries like this:

    Code
    DEBUG <general>: CDVDClock::ErrorAdjust - CVideoPlayerAudio::OutputPacket - error:70296.958426, adjusted:70296.958426

    I found an old issue, which looks similar, but it was already solved with Kernel 5.1.25.

    I have adapted the advancedsettings.xml as well, since I have the same problem with live video streams. But I am not sure if it is related, so I just mention it here:

    Code
    <advancedsettings>    
        <cache>        
            <buffermode>1</buffermode>        
            <memorysize>1242562560</memorysize>        
            <readfactor>10</readfactor>    
        </cache>
    </advancedsettings>

    Full Debug Log:

    20211229_dlf_kodi.log - Pastebin.com
    Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
    pastebin.com

    When analogue is disabled and sound plays through HDMI the issue does not occur.

    Full disclosure: I have mentioned the issue already in the general forum, but I think it belongs here.