Page 3 of 5

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

Posted: Tue Jun 21, 2016 7:58 am
by drlbradley
nope, nothing.
going to abandon usb audio and do pwm :(

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

Posted: Tue Jun 21, 2016 8:17 am
by Fleder
What is your mixer called, then?
Can you do "alsamixer" in terminal or Audio over the retropie menu and write the name of the mixer?

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

Posted: Thu Jun 23, 2016 5:36 pm
by marcushg
Mine is called Headphones... and is giving the same error every 3 or 4 seconds... I think it also affects to sound performance... tried to recompile all day but after an hour always give some error in help component. Cpp or not enough virtual memory. Haven't tried what fleder posted. Would be nice the idea of the "alias".

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

Posted: Fri Jun 24, 2016 12:09 am
by Fleder
Try the alias method. I haven't myself, but i heard it should work.

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

Posted: Tue Aug 09, 2016 9:49 am
by hipposcottamus
Great work Chiz! I've got the USB audio working great, however, I'm now struggling to get sound through HDMI. I've rebooted the system a few times with and without the HDMI cable in but it seems to consistently be searching for the USB audio input. Any ideas?

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

Posted: Tue Oct 04, 2016 1:44 am
by Pumpytums
Hi everyone,
I followed this guide and got the sound working on Snes Gameboy etc but it bombs on Mame has anyone got a USB sound card working ton that please?

Thanks

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

Posted: Tue Oct 04, 2016 3:55 pm
by Heiser
Hi guys.
I have a sound card creative emu0202.
I have installed on raspberry KODI system where the card is working normally,
and RETROPIE after using the commands of this post card also works but I have a problem because the sound is interrupted.
In KODI it was the same when I had the settings automatically:
ALSA: E-MU 0202 | USB, Analog
after switching on:
ALSA: E-MU 0202 | USB, S / PDIF
sound in the end was normal.
I suppose that the same must be done in retropie but the question is how?

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

Posted: Thu Nov 24, 2016 9:54 pm
by JujuPi
Working! Thanks habibi :)

:D :D :D

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

Posted: Fri Nov 25, 2016 1:02 pm
by sfrooze
Thanx for the tutorial, is very useful. Can anyone confirm usb audio works with n64 emulator (mupen64plus). coz don't work in my Rpi :cry:
greetings.

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

Posted: Sun Dec 04, 2016 11:09 am
by jellybelly
Fleder wrote:For easier access and backup, i will post the solution here.
jcoutch wrote:Assuming you've already set the USB sound card as the default in Alsa, you should be able to do the following:
Open up a terminal prompt, and run:

amixer -l
Note the name of your mixer. Mine was named "Speaker".

Now run:

git clone https://github.com/Aloshi/EmulationStation.git
nano EmulationStation/es-app/src/VolumeControl.cpp

Change line 8 from:

const char * VolumeControl::mixerName = "PCM";
to match the name of your mixer ("Speaker" in my case):

const char * VolumeControl::mixerName = "Speaker";
Press Ctrl+O and Enter to save the file, then Ctrl+X to exit Nano.

Then, follow the instructions for building the code from the main Github page:
sudo apt-get install libsdl2-dev libboost-system-dev libboost-filesystem-dev libboost-date-time-dev libboost-locale-dev libfreeimage-dev libfreetype6-dev libeigen3-dev libcurl4-openssl-dev libasound2-dev libgl1-mesa-dev build-essential cmake fonts-droid

cd EmulationStation
cmake .
make
make install


Restart Emulation Station, and now you should be able to control your volume.
anyone help with this? ive ran the git clone, then i go into volumecontrol and the file is empty why is this?

as its empty i cant edit the bits that needto be changed to get rid of this error