Audio Stutter w RPi 4b since LE 11 upgrade

  • Hey all,

    Thought I'd drop a message here about what worked for me (or rather, what I was missing) for my audio dropouts on LE11 with RPi4 4GB.

    Symptoms were initially audio dropouts from the very beginning of any playback, and did not improve. (I initially had some video issues also, but that's for another post altogether)

    Using a PC monitor, playback was fine. When I switched to my Hisense TV however (via HDMI), the audio stutter was unbearable.

    Inspecting the pastekodi log, I noticed that my TV's supported stream types (m_streamTypes:(

    Code
    m_deviceName      : hdmi:CARD=vc4hdmi0,DEV=0
    2024-02-26 17:58:33.533 T:1147     info <general>:         m_displayName     : vc4-hdmi-0 (vc4hdmi0)
    2024-02-26 17:58:33.533 T:1147     info <general>:         m_displayNameExtra: HEC HISENSE on HDMI
    2024-02-26 17:58:33.533 T:1147     info <general>:         m_deviceType      : AE_DEVTYPE_HDMI
    2024-02-26 17:58:33.533 T:1147     info <general>:         m_channels        : FL, FR
    2024-02-26 17:58:33.533 T:1147     info <general>:         m_sampleRates     : 32000,44100,48000,176400,192000
    2024-02-26 17:58:33.533 T:1147     info <general>:         m_dataFormats     : AE_FMT_RAW,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8,AE_FMT_RAW
    2024-02-26 17:58:33.533 T:1147     info <general>:         m_streamTypes     : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD,STREAM_TYPE_DTSHD_MA,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512,STREAM_TYPE_EAC3,STREAM_TYPE_TRUEHD


    With this knowledge, I went into the audio settings of Kodi (Settings -> System -> Audio [in expert mode]) and enabled the following:

    • Allow Passthrough

    • Dolby Digital AC3 capable receiver

      • Enable Dolby Digital (AC3) transcoding

    • Dolby Digital Plus (E-AC3) capable receiver

    • DTS capable receiver

    • TrueHD capable receiver

    • DTS-HD capable receiver

    This has solved all audio issues for me now, for which I'm mighty grateful. (it may have just been chance, but my thought process seemed logical)

    I'm also very grateful for everybody who contributes to these kinds of posts; I've been able to pick up a lot over the past few days and I cannot thank you all enough.

    I hope this helps somebody else.