There are a number of devices reported with "aplay -L". The raw one only accepts IEC958_SUBFRAME_LE,On a Pi5 I can't write directly to the alsa devices (HDMI) because the test program reports "Invalid (non-linear/float) format IEC958_SUBFRAME_LE"
but there is one using plug and softvol (see /usr/share/alsa/cards/vc4-hdmi.conf) that should take PCM.
You'd use this device with, e.g:
speaker-test -D sysdefault:CARD=vc4hdmi0
Perhaps your app isn't picking the right device?
Statistics: Posted by dom — Thu Feb 01, 2024 2:27 pm