Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Mame audio through usb audio card  (Read 5889 times)

0 Members and 1 Guest are viewing this topic.

ZoOl007

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 161
  • Last login:August 02, 2020, 12:03:38 pm
    • RGBcommander
Mame audio through usb audio card
« on: June 14, 2020, 05:19:31 am »
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.

keilmillerjr

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1847
  • Last login:October 06, 2023, 10:20:39 pm
  • Web Developer.
Re: Mame audio through usb audio card
« Reply #1 on: June 14, 2020, 06:37:42 am »
Try changing your soundcard boot order? Link is for arch, but I assume it will still be related.

https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#Set_the_default_sound_card