{"id":5,"date":"2010-05-29T12:05:17","date_gmt":"2010-05-29T12:05:17","guid":{"rendered":"http:\/\/zacharybaiel.com\/blog\/?p=5"},"modified":"2010-07-04T22:25:44","modified_gmt":"2010-07-04T22:25:44","slug":"i-have-no-audio-when-using-flash","status":"publish","type":"post","link":"https:\/\/zacharybaiel.com\/blog\/2010\/05\/29\/i-have-no-audio-when-using-flash\/","title":{"rendered":"I have no audio when using Flash"},"content":{"rendered":"<p>One of the first issues I had with running <a href=\"http:\/\/www.kubuntu.org\/\">Kubuntu<\/a> was that I had no audio while playing Flash based applications. \u00a0I had installed a SoundBlaster card in my machine, so I was no longer using the onboard sound as my default device. \u00a0I had already setup my default audio device in Multimedia System Settings to my new card, but that did not seem to affect the default device in Flash.<\/p>\n<p>After some searches on the Internet, I came across this thread:\u00a0<a href=\"http:\/\/kubuntuforums.net\/forums\/index.php?topic=3106282.0\">Changing default ALSA soundcard in Karmic, now with asoundconf gone<\/a>. \u00a0I found some information that allowed me to update the default device for ALSA, which I had <a title=\"Adobe Flash Player for Linux Tips and Tricks\" href=\"http:\/\/macromedia.mplug.org\/\">read<\/a>, Flash uses. \u00a0These are the steps that I followed:<\/p>\n<p>1. \u00a0You need a listing of your current sound devices. \u00a0Open up a root terminal window (sudo bash)\u00a0and type:  &#8220;cat \/proc\/asound\/modules&#8221;<\/p>\n<p>You should get a short list of your sound devices back:<\/p>\n<div class=\"code\">0 snd_hda_intel<br \/>\n1 snd_usb_audio<br \/>\n2 snd_emu10k1<\/div>\n<p>Please note the number preceeding the device you need to make the default. \u00a0In my case, I wanted to use the snd_emu101k1 device.<\/p>\n<p>2. \u00a0Next, you need to edit your alsa-base.conf file. \u00a0In the terminal window type:  &#8220;nano \/etc\/modprobe.d\/alsa-base.conf&#8221;<\/p>\n<p>Hit CTRL+W to search for <em>abnormal<\/em> in the conf file. \u00a0You should now be on this line:<\/p>\n<div class=\"code\"># Prevent abnormal drivers from grabbing index 0<\/div>\n<p>Above this line, add the following, but replace index=2 with the same number you noted above:<\/p>\n<div class=\"code\"><em>#added options to choose sound blaster<\/em><br \/>\n<em>options snd_ctxfi index=2<\/em><br \/>\n# Prevent abnormal drivers from grabbing index 0<\/div>\n<p>Hit CTRL+O and save the file. \u00a0Hit CTRL+X to leave nano.<\/p>\n<p>3. \u00a0Now we need to <a href=\"http:\/\/knol.google.com\/k\/william-wynn\/how-to-restart-alsa-sound-driver-in\/3fegkfxlkmrqb\/10#\">restart the alsa server<\/a>:<\/p>\n<p>Type: &#8220;\/sbin\/alsa-utils stop&#8221; and press Enter.<br \/>\nType: &#8220;alsa force-reload&#8221; and press Enter.<br \/>\nType: &#8220;\/sbin\/alsa-utils start&#8221; and press Enter.<\/p>\n<p>4. \u00a0Enjoy your sound in your Flash applications!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the first issues I had with running Kubuntu was that I had no audio while playing Flash based applications. \u00a0I had installed a&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[8,7],"class_list":["post-5","post","type-post","status-publish","format-standard","hentry","category-troubleshooting","tag-audio","tag-flash","entry"],"_links":{"self":[{"href":"https:\/\/zacharybaiel.com\/blog\/wp-json\/wp\/v2\/posts\/5","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zacharybaiel.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zacharybaiel.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zacharybaiel.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zacharybaiel.com\/blog\/wp-json\/wp\/v2\/comments?post=5"}],"version-history":[{"count":14,"href":"https:\/\/zacharybaiel.com\/blog\/wp-json\/wp\/v2\/posts\/5\/revisions"}],"predecessor-version":[{"id":33,"href":"https:\/\/zacharybaiel.com\/blog\/wp-json\/wp\/v2\/posts\/5\/revisions\/33"}],"wp:attachment":[{"href":"https:\/\/zacharybaiel.com\/blog\/wp-json\/wp\/v2\/media?parent=5"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zacharybaiel.com\/blog\/wp-json\/wp\/v2\/categories?post=5"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zacharybaiel.com\/blog\/wp-json\/wp\/v2\/tags?post=5"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}