Hello,
I am trying to run Kodi application in linux using `sudo apt install kodi` on an rk3588-based board using rockchip legacy kernel 5.10 but, somehow I am not getting Audio Passthrough in Kodi.
hdmi sound works on i2s5_8ch controller, From a lot of research I got some hint that If kodi gets m_deviceType - AE_DEV_HDMI and m_dataFormats - AE_FMT_RAW then only Audio Passthorugh support will be shown in Kodi.
I have also tried to stop Pulse audio, but still it didn't work.
Is there any steps I am missing to do ?
2025-03-04 18:40:38.274 T:6805 warning <general>: Pulseaudio module module-allow-passthrough not loaded - opening PT devices might fail
2025-03-04 18:40:38.276 T:6805 info <general>: Found 1 Lists of Devices
2025-03-04 18:40:38.276 T:6805 info <general>: Enumerated PULSE devices:
2025-03-04 18:40:38.276 T:6805 info <general>: Device 1
2025-03-04 18:40:38.276 T:6805 info <general>: m_deviceName : Default
2025-03-04 18:40:38.276 T:6805 info <general>: m_displayName : Default
2025-03-04 18:40:38.276 T:6805 info <general>: m_displayNameExtra: Default Output Device (PULSEAUDIO)
2025-03-04 18:40:38.276 T:6805 info <general>: m_deviceType : AE_DEVTYPE_PCM
2025-03-04 18:40:38.276 T:6805 info <general>: m_channels : FL, FR
2025-03-04 18:40:38.276 T:6805 info <general>: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
2025-03-04 18:40:38.276 T:6805 info <general>: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
2025-03-04 18:40:38.276 T:6805 info <general>: m_streamTypes : No passthrough capabilities
2025-03-04 18:40:38.276 T:6805 info <general>: Device 2
2025-03-04 18:40:38.276 T:6805 info <general>: m_deviceName : alsa_output.platform-dp0-sound.stereo-fallback
2025-03-04 18:40:38.276 T:6805 info <general>: m_displayName : Built-in Audio Stereo
2025-03-04 18:40:38.276 T:6805 info <general>: m_displayNameExtra: Analog Output (PULSEAUDIO)
2025-03-04 18:40:38.276 T:6805 info <general>: m_deviceType : AE_DEVTYPE_PCM
2025-03-04 18:40:38.276 T:6805 info <general>: m_channels : FL, FR
2025-03-04 18:40:38.276 T:6805 info <general>: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
2025-03-04 18:40:38.276 T:6805 info <general>: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
2025-03-04 18:40:38.276 T:6805 info <general>: m_streamTypes : No passthrough capabilities
2025-03-04 18:40:38.276 T:6805 info <general>: Device 3
2025-03-04 18:40:38.276 T:6805 info <general>: m_deviceName : alsa_output.platform-dp1-sound.stereo-fallback
2025-03-04 18:40:38.276 T:6805 info <general>: m_displayName : Built-in Audio Stereo
2025-03-04 18:40:38.276 T:6805 info <general>: m_displayNameExtra: Analog Output (PULSEAUDIO)
2025-03-04 18:40:38.276 T:6805 info <general>: m_deviceType : AE_DEVTYPE_PCM
2025-03-04 18:40:38.276 T:6805 info <general>: m_channels : FL, FR
2025-03-04 18:40:38.276 T:6805 info <general>: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
2025-03-04 18:40:38.276 T:6805 info <general>: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
2025-03-04 18:40:38.276 T:6805 info <general>: m_streamTypes : No passthrough capabilities
2025-03-04 18:40:38.276 T:6805 info <general>: Device 4
2025-03-04 18:40:38.276 T:6805 info <general>: m_deviceName : alsa_output.platform-es8388-sound.HiFi__hw_rockchipes8388__sink
2025-03-04 18:40:38.276 T:6805 info <general>: m_displayName : Built-in Audio Headphones + Speaker
2025-03-04 18:40:38.276 T:6805 info <general>: m_displayNameExtra: Speaker (PULSEAUDIO)
2025-03-04 18:40:38.276 T:6805 info <general>: m_deviceType : AE_DEVTYPE_PCM
2025-03-04 18:40:38.276 T:6805 info <general>: m_channels : FL, FR
2025-03-04 18:40:38.276 T:6805 info <general>: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
2025-03-04 18:40:38.276 T:6805 info <general>: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
2025-03-04 18:40:38.276 T:6805 info <general>: m_streamTypes : No passthrough capabilities
2025-03-04 18:40:38.276 T:6805 info <general>: Device 5
2025-03-04 18:40:38.276 T:6805 info <general>: m_deviceName : alsa_output.platform-hdmi1-sound.HDMI__hw_rockchiphdmi1__sink
2025-03-04 18:40:38.276 T:6805 info <general>: m_displayName : Built-in Audio HDMI/Display Port 2 Stereo
2025-03-04 18:40:38.276 T:6805 info <general>: m_displayNameExtra: HDMI/Display Port 2 Stereo (PULSEAUDIO)
2025-03-04 18:40:38.276 T:6805 info <general>: m_deviceType : AE_DEVTYPE_PCM
2025-03-04 18:40:38.276 T:6805 info <general>: m_channels : FL, FR
2025-03-04 18:40:38.276 T:6805 info <general>: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
2025-03-04 18:40:38.276 T:6805 info <general>: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
2025-03-04 18:40:38.276 T:6805 info <general>: m_streamTypes : No passthrough capabilities
2025-03-04 18:40:38.277 T:6806 info <general>: CActiveAESink::OpenSink - initialize sink