No audio at video playback (v7.90.009, RaspberryPi 3, HiFiBerry Amp+)

  • When I play with my hardwaresetup (see below) videos, no sound comes. The Gui Sounds works and I can play music files without problems.

    • LibreELEC Alpha 7.90.009 (LibreELEC-RPi2.arm-7.90.009)
    • Raspberry Pi 3 Modell B
    • GPU Broadcom Dual Core VideoCore IV, OpenGL-ES 1.1/2.0, Full HD 1080p30
    • HiFiBerry Amp+ Class-D power amplifier


    With LibreELEC 7.0.2 (LibreELEC-RPi2.arm-7.0.2) and the same hardwaresetup it works fine.

    Steps:

    • Add the Device Tree Overlay to config.txt: dtoverlay=hifiberry-amp
    • Set Audio output device to "ALSA: Default (snd_rpi_hifiberry_amp_Analog)"


    I have found that it is exclusively audio streams, which have a higher samplerate than 44100 Hz. Audio tracks in videos with a sampling rate lower than 48000 Hz are output via the HiFiBerry.

    More details are available in the Kodi debuglogfile (kodi.log.7z).

    Video files examples ("ffmpeg -i videofile"):
    Don't work:

    Work:

    dmesg output (dmesg | egrep hifi):

    Code
    [    4.493188] snd-hifiberry-amp soc:sound: ASoC: CODEC DAI tas5713-hifi not registered
    [    4.493199] snd-hifiberry-amp soc:sound: snd_soc_register_card() failed: -517
    [    5.564869] snd-hifiberry-amp soc:sound: tas5713-hifi <-> 3f203000.i2s mapping ok


    More details are available in the full dmesg output file (dmesg_raspberrypi3.txt).

    Thanks for your help.
    With friendly greetings from Germany,

    toam