LibreELEC (official): 9.0.2 (LePotato.arm) on AML-S905X-CC
I would like to have Kodi use the HDMI audio output only. But want to keep an analog set of speakers plugged into the 3.5mm Jack for other use (netcat raw audio). I have done this on a RPi2. nc -lp <port> | aplay -Dhw:1,0
Is it possible to do this on this AmLogic board?
I have tried all the settings in the Kodi UI, but audio seems to output simultaneously on both regardless of the Kodi settings.
I tried selecting HDMI and the GUI click sounds do only output to the HDMI (no sound from analog speakers), but then playing a video results in no sound from any device.
Would buying a USB to 3.5mm adapter work?
LePotato:~/.kodi/userdata # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: AMLM8AUDIO [AML-M8AUDIO], device 0: I2S.42 T9015-audio-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: AMLM8AUDIO [AML-M8AUDIO], device 1: SPDIF.43 dit-hifi-1 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: AMLM8AUDIO [AML-M8AUDIO], device 2: PCM.44 pcm2bt-pcm-2 []
Subdevices: 1/1
Subdevice #0: subdevice #0
LePotato:~/.kodi/userdata # aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=AMLM8AUDIO
AML-M8AUDIO,
Default Audio Device
sysdefault:CARD=AMLM8AUDIO
AML-M8AUDIO,
Default Audio Device
hdmi:CARD=AMLM8AUDIO,DEV=0
AML-M8AUDIO,
HDMI Audio Output
Display More
Jaaxx suggested in 2017 that Amlogic ignores Kodi audio output selection and just outputs to all devices. But has this changed since Krypton? I'm on Leia now, and the beta of LE20 still had the same issue.
Thanks.