Hello all,
I am trying to get audio output onto HDMI and a Bluetooth box working simultanously.
This wiki entry suggests that this should be possible with the pulseaudio module-combine-sink
Unfortunately, I have a hard time to find my audio sinks. The sinks I am interested in are listed by Kodi as:
ALSA: Default Audio Device ()
PULSE: Default, Bluetooth Audio (PULSEAUDIO)
But neither pactl nor amixer shows me those two devices:
kodi-rpi4:~ # pactl list short sinks
4 auto_null module-null-sink.c s16le 2ch 44100Hz SUSPENDED
kodi-rpi4:~ # pactl info
Server String: /var/run/pulse/native
Library Protocol Version: 34
Server Protocol Version: 34
Is Local: yes
Client Index: 33
Tile Size: 65496
User Name: root
Host Name: kodi-rpi4
Server Name: pulseaudio
Server Version: 14.2
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: auto_null
Default Source: auto_null.monitor
Cookie: 6087:a029
kodi-rpi4:~ # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
Display More
In addition, I get:
kodi-rpi4:~ # pacmd list-cards
No PulseAudio daemon running, or not running as session daemon.
kodi-rpi4:~ # export PULSE_RUNTIME_PATH=/run/pulse
kodi-rpi4:~ # pacmd list-cards
0 card(s) available.
Nevertheless, after executing
kodi-rpi4:~ # pacmd load-module module-combine-sink sink_name=combined
a new device appears in Kodi, called
PULSE: Simultanous output to Anker SoudCore (PULSEAUDIO)
When I select this device, my Bluetooth box plays fine. So the module-combine-sink basically seems to work. But how do I find the name of the HDMI sink so that I can add it to the combined sink?
What's more, all those settings don't change when I change outputs in Kodi.
https://kodi.wiki/view/PulseAudio says, it is not possible to have ALSA and Pulseaudio at the same time. But Kodi shows me ALSA devices as well as Pulseaudio devices. Can anybody elaborate on this? What is installed by default in a libreelec install on RPi 4B?
Thanks in Advance!