2024-10-06, 23:05
Hello,
I am on ubuntu Ubuntu 24.04.1 with wireplumber 0.4.17 and kodi flatpak version 21.1
In ~/.config/wireplumber/main.lua.d, I have the following
When I run kodi with
I can see the passthrough devices and select the correct one. (While navigating in the interface, I can hear the 'interface sound', this will have some importance afterwards)
However when I play a movie, the sound is not sent to my device in the correct encoding (I see that `Multi channel PCM` is still used) and my amplifier plays some clicks.
Kodi.log
Now if, before running kodi, I launch on another terminal wireplumber (stdout is filled with wireplumber logs) then I launch kodi with the same options. I navigate (without any interface sound clicks), launch the same move and here the passthrough is done and sound is OK
However, this seems not stable (for instance, kodi closing shall be forced with a kill -9)
kodi.log
Any hints on why the first configuration is not working as expected and why running wireplumber in a terminal seems to patch my passthrough ?
I am on ubuntu Ubuntu 24.04.1 with wireplumber 0.4.17 and kodi flatpak version 21.1
In ~/.config/wireplumber/main.lua.d, I have the following
Quote:rule = {
matches = {
{
{ "node.name", "matches", "alsa_output.*" },
},
},
apply_properties = {
["iec958.codecs"] = "[PCM DTS AC3 MPEG MPEG2-AAC EAC3 TRUEHD DTSHD]",
},
}
table.insert(alsa_monitor.rules, rule)
When I run kodi with
Quote:flatpak run tv.kodi.Kodi --audio-backend=alsa
I can see the passthrough devices and select the correct one. (While navigating in the interface, I can hear the 'interface sound', this will have some importance afterwards)
However when I play a movie, the sound is not sent to my device in the correct encoding (I see that `Multi channel PCM` is still used) and my amplifier plays some clicks.
Kodi.log
Now if, before running kodi, I launch on another terminal wireplumber (stdout is filled with wireplumber logs) then I launch kodi with the same options. I navigate (without any interface sound clicks), launch the same move and here the passthrough is done and sound is OK
However, this seems not stable (for instance, kodi closing shall be forced with a kill -9)
kodi.log
Any hints on why the first configuration is not working as expected and why running wireplumber in a terminal seems to patch my passthrough ?