{"action":"created","issue":{"url":"https://api.github.com/repos/RetroPie/RetroPie-Setup/issues/1312","repository_url":"https://api.github.com/repos/RetroPie/RetroPie-Setup","labels_url":"https://api.github.com/repos/RetroPie/RetroPie-Setup/issues/1312/labels{/name}","comments_url":"https://api.github.com/repos/RetroPie/RetroPie-Setup/issues/1312/comments","events_url":"https://api.github.com/repos/RetroPie/RetroPie-Setup/issues/1312/events","html_url":"https://github.com/RetroPie/RetroPie-Setup/issues/1312","id":137472961,"number":1312,"title":"USB Audio (Quick Fix)","user":{"login":"jrcharney","id":1954239,"avatar_url":"https://avatars.githubusercontent.com/u/1954239?v=3","gravatar_id":"","url":"https://api.github.com/users/jrcharney","html_url":"https://github.com/jrcharney","followers_url":"https://api.github.com/users/jrcharney/followers","following_url":"https://api.github.com/users/jrcharney/following{/other_user}","gists_url":"https://api.github.com/users/jrcharney/gists{/gist_id}","starred_url":"https://api.github.com/users/jrcharney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrcharney/subscriptions","organizations_url":"https://api.github.com/users/jrcharney/orgs","repos_url":"https://api.github.com/users/jrcharney/repos","events_url":"https://api.github.com/users/jrcharney/events{/privacy}","received_events_url":"https://api.github.com/users/jrcharney/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-01T05:11:46Z","updated_at":"2016-03-01T06:11:15Z","closed_at":"2016-03-01T05:56:43Z","body":"There's a lot of old documentation on how to set this up.  I just though I would bring to everyone's attention how to fix this, especially if you are using a USB Audio dongle in leu of the Raspberry Pi's scratchy 3.5 mm audio jack. (Blame the manufacturer of that part. Hopefully the foundation will fix it when the next Pi comes out.)\r\n\r\nSo instead of using one of those large shield with the RCA jacks on it, a small [$2 USB Audio Dongle](http://www.amazon.com/Channel-External-Sound-Audio-Adapter/dp/B007HISGRW) and a few commands.\r\n\r\n1.    At startup, press <kbd>F4</kbd> to go to the console and enter these commands.\r\n2.    Assuiming the USB Audio dongle is plugged in, type `lsusb`, and look for some device with \"C-Media Electronics, Inc. Audio Adapter\" in it\r\n3.   Not a neccssary step but one that you should note. Type, `amixer`.  You'll see the default bcm2835 set up. Our device is not set up.\r\n4.    Find our card number.  More than likely, the \"C-Media USB Headphone Set\" will be set to `Card 1`.  We'll need to remember this number for the next step.\r\n5.    Use `nano` to create `/etc/asound.conf` with this content.  Press <kbd>Ctrl</kbd>+<kbd>X</kbd> followed by <kbd>Y</kbd> when finished.  Replace the card number in the code below with the correct card number if it is other than `1`.\r\n\r\n     ```\r\n    pcm.!default {\r\n     type hw card 1\r\n    }\r\n    ctl.!default {\r\n     type hw card 1\r\n    }\r\n    ```\r\n\r\n6.    `sudo reboot`.  When Emulation Station or a video game is played, you will start to notice sound.\r\n\r\n7.    If you want to test stereo, <kbd>F4</kbd> again to do a speaker test using `speaker-test -c2 hw:Set,0` where `-c2` indicates the number of channels. If you have just one speaker, use `-c1` instead.  You should hear a hiss in each speaker separately.  This test will go on continuously until you press <kbd>Ctrl</kbd>+<kbd>C</kbd>.\r\n\r\nThere is a pitfall with these instructions, and that is I don't know what will happen if you plug this into HDMI later.  If anyone knows, please share what happens."},"comment":{"url":"https://api.github.com/repos/RetroPie/RetroPie-Setup/issues/comments/190563217","html_url":"https://github.com/RetroPie/RetroPie-Setup/issues/1312#issuecomment-190563217","issue_url":"https://api.github.com/repos/RetroPie/RetroPie-Setup/issues/1312","id":190563217,"user":{"login":"HerbFargus","id":10035308,"avatar_url":"https://avatars.githubusercontent.com/u/10035308?v=3","gravatar_id":"","url":"https://api.github.com/users/HerbFargus","html_url":"https://github.com/HerbFargus","followers_url":"https://api.github.com/users/HerbFargus/followers","following_url":"https://api.github.com/users/HerbFargus/following{/other_user}","gists_url":"https://api.github.com/users/HerbFargus/gists{/gist_id}","starred_url":"https://api.github.com/users/HerbFargus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HerbFargus/subscriptions","organizations_url":"https://api.github.com/users/HerbFargus/orgs","repos_url":"https://api.github.com/users/HerbFargus/repos","events_url":"https://api.github.com/users/HerbFargus/events{/privacy}","received_events_url":"https://api.github.com/users/HerbFargus/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T06:11:15Z","updated_at":"2016-03-01T06:11:15Z","body":"A wiki by definition is a place for collaborative editing. Your contributions are appreciated as the lovely buzzing noise for composite output has plagued many a user. \r\n\r\nThe recent interview with eben upton on the pi podcast seemed to suggest it isn't an issue with the Rpi 3 or at least isn't as big of an issue. I won't know for sure  until it arrives."}}