Page 4 of 5

Re: How-to: Use USB Audio in Retropie v3.7

Posted: Sun Mar 19, 2017 3:47 pm
by jellypowered
Fleder wrote:
drlbradley wrote:Let me know if you get audio out of the emulators. I can get audio from emulationstation Ui, but not from any emulators
Could you try the following, please?:

Create the .asoundrc file. Which should not exist.

Code: Select all

sudo nano .asoundrc
Then type in the following (if your device is card 0 and device 0 (/proc/asound/cards)):

Code: Select all

pcm.PCM {
	type hw
	card 0
	device 0
}
Strg+X -> Yes -> Enter

Code: Select all

sudo reboot
This should create an alias for your mixer which is usually called "Speaker".
But as Alsamixer is looking for PCM, this causes it to ignore that one.
Was having similar issues with the "Failed to find mixer elements"
Lsusb showed my device was "6"
So i followed your instructions and replaced device 0 with device 6 and the warning went away and am able to control volume through Emulationstation. Thanks a ton!

Re: How-to: Use USB Audio in Retropie v3.7

Posted: Sun Apr 16, 2017 7:33 pm
by negrete35
How are the commands typed using a US keyboard? Haha

Re: How-to: Use USB Audio in Retropie v3.7

Posted: Mon Apr 17, 2017 10:35 pm
by jellypowered
You have to set your local in retropie setup to us.

Re: How-to: Use USB Audio in Retropie v3.7

Posted: Tue Apr 18, 2017 3:21 pm
by negrete35
jellypowered wrote:
Mon Apr 17, 2017 10:35 pm
You have to set your local in retropie setup to us.
I got what I needed figured out. I just stumbled across this thread while trying to find the help i needed. But while trying to follow, I discovered that the placement of the '@' is on another key. Found that, but could not end up finding the '~' so I had to give up on this, couldnt follow this guide. haha. I will look at adjusting the location though. Thank you.

Re: How-to: Use USB Audio in Retropie v3.7

Posted: Thu Apr 27, 2017 3:22 pm
by TheDood
Robvp wrote:
Fri May 13, 2016 4:27 pm
How is the sound quality and volume compared to the pi's sound?

I'm currently debating wether to use this or get the output from the pi
I've only tried the usb method with my Zero. The audio is a bit garbled at times. Not sure what the issue is with that though, but it's usable.

Re: How-to: Use USB Audio in Retropie v3.7

Posted: Wed Jul 26, 2017 4:32 am
by VeteranGamer
i've tried to build the code....

but i keep hitting the same issue...

it always kinda freezes/stops at 24%

building cxx object es-core/cmakefiles/es-core.dir/srs/components/helpcomponent.cpp.o


not sure if this has happend to others of am i doing something wrong...

could it also be an issue because i have retropie 4.2

Re: How-to: Use USB Audio in Retropie v3.7

Posted: Fri Sep 01, 2017 11:42 am
by redled
Can we simply disable

Code: Select all

snd_bcm2835
and not bother changing the order of the USB and native device?

Re: How-to: Use USB Audio in Retropie v3.7

Posted: Sat Sep 30, 2017 6:34 pm
by ZodiaX69
I originally used this guide to set up USB audio and it worked well except for the "VolumeControl::init() - Failed to find mixer elements!" error kept appearing every time I quit a game.

I found this guide https://www.woltersadvertising.com/how- ... -retropie/ which worked perfect for me and now I no longer get the VolumeControl::init() - Failed to find mixer elements! error.

Re: How-to: Use USB Audio in Retropie v3.7

Posted: Mon Oct 30, 2017 2:56 pm
by Hoshosslehoff
Is there a way to reverse this process back to original default?

Re: How-to: Use USB Audio in Retropie v3.7

Posted: Sun Nov 19, 2017 2:39 am
by boquetipo
Despite the sound sounds well, when changing to console mode, the message "(snd_pcm_recover) underrun occurred" shows several times.
Is that a problem? Anyone has the same message?