I’m using OSMC with Kodi 18.3 on a Raspberry Pi 3 Model B+ and a HiFiBerry Digi+ sound card. I activated AC3 passthrough which is working (I get 5.1 sound), but at least for some files (maybe all files) I get some crackling noise. It seems to be correlated with the intensity of audio output; in quiet scenes, the noise goes away. 2 channel output (either on files with a pure stereo signal or downmixed) works fine (no noise).
I tried different sound settings without any success. Is there anything I can do to trouble shoot and hopefully fix this issue?