Hello,
I set up a Raspberry Pi 3 Model B+ with Libreelec 9.2.6 and Kodi 18.9.
I'm struggling to get the audio output simultaneous to the speakers. The Pi is connected via HDMI to a TV which is then connected to a soundbar. Additionally the PI is connected via the 3.5 mm audio jack to an ampilfier to a set of speakers.
The standard audio setting "PI: HDMI and analogue" works in that way, that there is a signal on both oututs but of course with a significant delay on the HDMI due to the "longer" signal processing (Pi->TV->Soundbar)
I read with ALSA I could could add a latency to the analogue output to get them harmonized in the end.
But I'm already struggling to get a signal at all at the audio jack output, I'm not quite sure how to tackle that. For me it seams like that ALSA doesn't recognize a analogue sound device.
I read various pages in the net and searched on this page, but i'm still beginner in terms on Linux and ALSA in particular.
The use case would be playing audio with Librespot as well as potentially with Snapcast.
Is somebody able to help me to get it work?
These are the results of aplay. If anything further is required
Thanks for your help
QuoteDisplay MoreLibreELEC:~ # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 7/7
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1]
Subdevices: 1/1
Subdevice #0: subdevice #0
QuoteDisplay MoreLibreELEC:~ # aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=ALSA
bcm2835 ALSA, bcm2835 ALSA
Default Audio Device
sysdefault:CARD=ALSA
bcm2835 ALSA, bcm2835 ALSA
Default Audio Device
iec958:CARD=ALSA,DEV=0
bcm2835 ALSA, bcm2835 IEC958/HDMI
IEC958 (S/PDIF) Digital Audio Output
QuoteDisplay MoreLibreELEC:~ # amixer
Simple mixer control 'PCM',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback -10239 - 400
Mono: Playback 0 [96%] [0.00dB] [on]