Please do not post a support request without first reading and following the advice in

  • Pi Model or other hardware: Pi4 4Gb
    RetroPie Version Used: 4.6
    Built From: Experimental Pi, PiBoy DMG image

    There is a low level hiss both via the speaker and the headphone jack (although it's more noticeable via the headphone jack). To eliminate this hiss when using headphones, I got a USB audio dongle working using the following method:

    sudo nano /etc/modprobe.d/alsa-base.conf
    typed the following lines:  
    options snd_usb_audio index=0
    options snd_bcm2835 index=1
    options snd slots=snd-usb-audio,snd-bcm2835
    Ctrl+X to exit and answered Yes when prompted to save

    My problem is that the PiBoy DMG speaker is still disabled if the USB dongle is unplugged. I thought the Pi4 would use the next available audio card with no USB dongle present?

    Is there a way to swap between USB audio and built in speaker without having to go in and edit config files each time?

  • I really wish there was an easy way to switch sound cards with retropie. Is there a way to get emulationstation to have the ability of doing that through its audio settings menu? I want to say that KODI has the ability of switching sound cards easily. How do we get this working with retropie?

  • @brandflake11 I couldn't find any way to switch audio cards easily from emulation station, other than writing a script to perform the edit of the alsa-base.conf file since it's unique to changing the sound card order. Sadly I stalled at that since my Linux skills are not really up to writing scripts.

  • @Firebird_WS6
    You could probably do a diff to do it. What are the differences between the two configurations?

  • @brandflake11 One is with the alsa-base.conf file present as above (for USB audio), the other is with alsa-base.conf either deleted or commands commented out (for no USB audio and default built in speaker). I'm not familiar with a diff unfortunately.

Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.