04-11-2024, 10:15 PM
(04-11-2024, 09:52 PM)Tim Curtis Wrote:(04-11-2024, 06:33 PM)Tim Curtis Wrote:(04-11-2024, 05:30 PM)TheOldPresbyope Wrote:Code:pi@m9pre3b:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: W2 [Creative Bluetooth Audio W2], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: Katana [Allo Katana], device 0: fe203000.i2s-allo-katana-codec allo-katana-codec-0 [fe203000.i2s-allo-katana-codec allo-katana-codec-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
pi@m9pre3b:~ $ moodeutl -q "select * from cfg_outputdev"
1|Pi HDMI 1|software|iec958|100
2|Creative Bluetooth Audio W2|software|plughw|100
3|Allo Katana DAC|software|plughw|100
Regards,
Kent
The output is fine but there is this assumption in function getAlsaDeviceNames() which is causing the bogus name to appear.
Code:// DEBUG: Assumes ALSA always assigns USB devices higher card numbers than the I2S device
I'll need to noodle on this for while.
Just pushed this commit which should fix the card naming issue
https://github.com/moode-player/moode/co...0369fbd05a
Ok,
Good noodling.
Fixed it on the player with both USB and I2S DACs connected. Didn't break the players with only a USB DAC or none connected..
Regards,
Kent