Hi,
I have an OdroidXU4 sbc. It has an hdmi output. Sound goes through the hdmi by default. The monitor doesn't have speakers. I attached a usb audio device (chipset CM108).
I reconfigured the system using /etc/asound.conf to use the usb audio card.
So if I now run speaker-test -t wav -c 2 as any user alsa plays the sound correctly.
The distribution is ubuntu 20.04 LTS minimal - so no desktop environment.
I can not get Mame to use the usb audio card. It always plays through hdmi.
It doesn't matter if I use for example ./mame myRom -sound SDL or portaudio .... it always uses the hdmi.
I don't understand it. Can someone clarify please?
Thanks.