WeTek Play 2: no audio via optical out with 48kHz sample rate

  • I have a WeTek Play 2, connected via HDMI to a TV and the optical out is connected to a Pioneer receiver for the audio signals.

    Then used a LE9 fresh install.

    Kodi settings:

    - audio device AML-M8AUDIO HDMI

    - AC3 and DTS passthrough enabled

    - other settings -> Screenhots

    All videos with AC3 and DTS have no problem, because of the direct passthrough.

    Other videos with an audio sample rate of 44.1 kHz also seem to work, tested 2 files with it.

    For all other videos where the audio stream has a sample rate of 48 kHz I get no audio, tested videos with audio codecs AAC or mp3.

    I saw the following difference for the same video file between 8.2.5 und 9.0.0 in the debug log. I don't know if this is an indication.

    8.2.5 - working:

    Code
    20:10:50.801 T:547734155488   DEBUG:   Output Device : AML-M8AUDIO
    20:10:50.801 T:547734155488   DEBUG:   Sample Rate   : 48000
    20:10:50.801 T:547734155488   DEBUG:   Sample Format : AE_FMT_S32NE
    20:10:50.801 T:547734155488   DEBUG:   Channel Count : 2
    20:10:50.801 T:547734155488   DEBUG:   Channel Layout: FL,FR
    20:10:50.801 T:547734155488   DEBUG:   Frames        : 256
    20:10:50.801 T:547734155488   DEBUG:   Frame Size    : 8

    9.0.0 fresh installation - not working

    Code
    19:02:21.905 T:4058620784   DEBUG:   Output Device : AML-M8AUDIO
    19:02:21.905 T:4058620784   DEBUG:   Sample Rate   : 48000
    19:02:21.905 T:4058620784   DEBUG:   Sample Format : AE_FMT_S16NE
    19:02:21.905 T:4058620784   DEBUG:   Channel Count : 2
    19:02:21.906 T:4058620784   DEBUG:   Channel Layout: FL, FR
    19:02:21.906 T:4058620784   DEBUG:   Frames        : 256
    19:02:21.906 T:4058620784   DEBUG:   Frame Size    : 4

    debug_logs.zip - filenames masked