Hi,
Since the migration to CoreElec ( from LibreElec Kszaq build ) I try to make working my pulseaudio conf.
Before I have pulseaudio activate for general sound and for passthrough stream I use directly ALSA.
Now I can’t see the ALSA output when I activate pulseaudio and I can’t configure it to make it work with passthrough.
However I proceed correclty I think :
Allow all format =>
pactl set-sink-formats 1 “pcm; ac3-iec61937; dts-iec61937; eac3-iec61937”
Show conf :
pactl list sinks
Sink #1
State: SUSPENDED
Name: alsa_output.0.hdmi-stereo
Description: Built-in Audio Digital Stereo (HDMI)
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 14
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: alsa_output.0.hdmi-stereo.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS
Properties:
alsa.resolution_bits = “16”
device.api = “alsa”
device.class = “sound”
alsa.class = “generic”
alsa.subclass = “generic-mix”
alsa.name = “”
alsa.id = “SPDIF.41 dit-hifi-1”
alsa.subdevice = “0”
alsa.subdevice_name = “subdevice #0”
alsa.device = “1”
alsa.card = “0”
alsa.card_name = “AML-M8AUDIO”
alsa.long_card_name = “AML-M8AUDIO”
device.bus_path = “/devices/aml_m8_snd.47/sound/card0”
sysfs.path = “/devices/aml_m8_snd.47/sound/card0”
device.form_factor = “internal”
device.string = “hdmi:0”
device.buffering.buffer_size = “16384”
device.buffering.fragment_size = “4096”
device.access_mode = “serial”
device.profile.name = “hdmi-stereo”
device.profile.description = “Digital Stereo (HDMI)”
device.description = “Built-in Audio Digital Stereo (HDMI)”
module-udev-detect.discovered = “1”
device.icon_name = “audio-card”
Ports:
hdmi-output-0: HDMI / DisplayPort (priority: 5900)
Active Port: hdmi-output-0
Formats:
ac3-iec61937, format.rate = “[ 32000, 44100, 48000, 88200, 96000, 176400, 192000 ]”
dts-iec61937, format.rate = “[ 32000, 44100, 48000, 88200, 96000, 176400, 192000 ]”
eac3-iec61937, format.rate = “[ 32000, 44100, 48000, 88200, 96000, 176400, 192000 ]”
pcm
restart kodi, still no passthrough capabilities …
12:17:32.659 T:4065559408 NOTICE: Found 1 Lists of Devices
12:17:32.659 T:4065559408 NOTICE: Enumerated PULSE devices:
12:17:32.659 T:4065559408 NOTICE: Device 1
12:17:32.660 T:4065559408 NOTICE: m_deviceName : Default
12:17:32.660 T:4065559408 NOTICE: m_displayName : Default
12:17:32.660 T:4065559408 NOTICE: m_displayNameExtra: Bluetooth Audio (PULSEAUDIO)
12:17:32.660 T:4065559408 NOTICE: m_deviceType : AE_DEVTYPE_PCM
12:17:32.660 T:4065559408 NOTICE: m_channels : FL, FR
12:17:32.660 T:4065559408 NOTICE: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
12:17:32.660 T:4065559408 NOTICE: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
12:17:32.660 T:4065559408 NOTICE: m_streamTypes : No passthrough capabilities
12:17:32.667 T:4057166704 NOTICE: PulseAudio: Opened device Default in pcm mode with Buffersize 192 ms
As I said before, on Libreelec it work, so it’s not a hardware issue.
Thank’s for the help.