Home
Home Blogs k4tz's blog
    • Blog
    • Clinic
    • Contact
    • Download
    • Video
    • Login

Poll

Favourite console text editor in Ubuntu:

Archives

July 2009
SunMonTueWedThuFriSat
2829301234
567891011
12131415161718
19202122232425
2627282930311

LXer -- Linux and Open Source News

  • PostgreSQL 8.4 Improves Database Management, Security
  • Linux based Solar-powered networking anywhere
  • PostgreSQL 8.4 now available
  • Reserve Your Space on the Australian Stage
  • GPLv3 Celebrates Two Years, GPLv2 Still in Front
more

Linux Today

  • The Kernel Newbie Corner: Your First Loadable Kernel Module
  • Red Hat inks cloud partnership with Amazon
  • PostgreSQL 8.4
  • 10 Awesome Features of Krunner in KDE 4
  • Changing the World, One Penguin at a Time
more

Linux Insider

  • Is Dell Building an Android PDA?
  • Wikipedia and the Kidnapped Reporter: Censor or Savior?
  • The Business Case for Virtual Business, Part 2
  • Conspiracy Theories and the 'Smoking Gun'
  • What I Need to Help Sell Linux
more

Choose automatically audio device for Flash Player

Submitted by k4tz on Sat, 08/30/2008 - 07:57
  • Clinic
  • Multimedia
  • Ubuntu

Question:

Hello, I am looking for some help, and I have not found it in my previous searches through these forums or other forums. It took awhile, but I finally have Flash Player properly working on my Firefox. Now the problem is that it is playing through the soundcard in my laptop instead of the USB soundcard I have set up. Everything else on my system runs through the USB soundcard. The one inside the laptop just doesn't produce enough sound to make anything enjoyable. Is there anyway through terminal or otherwise to reroute the sound within Flash Player to go through my USB soundcard instead of the other? Thank you in advance

 

Answer:

Thank you, it did work, but for all the people that are as new as myself, there are some things left out of that post.

Here is what I had to end up doing:

In terminal, type:

less /proc/asound/modules

It should output your sound cards that the computer uses and their position. Copy and Paste these into a text editor, because you will need them later.

Then type:

gksudo gedit /etc/modprobe.d/alsa-base

or

sudo nano /etc/modprobe.d/alsa-base

depending on what editor you want to use.

This will open your sound configuration file up in an editor. When it opens, scroll down to where it says "# Prevent abnormal drivers from grabbing index 0"

Below that it will have a string of lines that read
options saa7134-alsa index=-2
along with others. Now you want to force it to read the sound card you want it to first. For mine, it was snd_usb_audio

so if you can not find your card on the file, type in that area

options snd_usb_audio index=0

This will force it to read your USB soundcard first, you can also force it to order. Mine currently looks like this.

options snd_usb_audio index=0
options snd_hda_intel index=1
options saa7134-alsa index=2

Save it and then restart your computer and it should make it so Flash Player and other devices automatically play from the audio device you prefer.

 

Source: http://ubuntuforums.org/showthread.php?t=901746

  • k4tz's blog
  • Add new comment

Recent blog posts

  • Questions about installing Ubuntu on HP Mini 1000 netbook
  • Epson NX400 driver in Ubuntu
  • Installing Ubuntu Jaunty on HP DV2 laptop
  • How to Install latest version of Midori [Browser] on Ubuntu
  • Download PCLinuxOS 2009.2
  • Download Sabayon Linux 4.2 "GNOME"
  • Map Windows Shares Permanently on Ubuntu with GVFS
  • Ubuntu 9.04 (Jaunty) and Acer Aspire One AOD150-iBb
  • Using Linux Ubuntu on HP HDX 16t Laptop
  • Run a particular program but prevent it from accessing the Internet
more

Linux World

  • Microsoft's Secret Weapon isn't FUD, it's Inertia
  • Will Google Wave revolutionise free software collaboration?
  • Is Android the key to the GNU/Linux desktop? Really?
  • USN-785-1: ipsec-tools vulnerabilities
  • Call it Netbook, Smartbook, or “Low-cost small notebook PC” - It is Great for Linux
  • The Week of the Linux Desktop
  • USN-781-2: Gaim vulnerabilities
  • USN-781-1: Pidgin vulnerabilities
  • USN-780-1: CUPS vulnerability
Archive Syndicate content

Recent comments

  • 1) # ./mkrawdev.sh ./mkrawdev.sh: line 6: ошибка синтаксиса окол
    8 weeks 1 day ago
  • 1) # ./mkrawdev.sh ./mkrawdev.sh: line 6: ошибка синтаксиса окол
    8 weeks 1 day ago
  • Aries Register is the best choice in Europe.
    17 weeks 6 days ago
  • Re: wireless
    20 weeks 3 days ago
  • wireless
    20 weeks 6 days ago
  • Re: Setting up wvdial to support Three
    24 weeks 6 days ago
  • Setting up wvdial to support Three
    26 weeks 1 day ago
  • не проходит built + raw device
    33 weeks 6 days ago
  • Re: Knol is not a Wikipedia clone
    38 weeks 2 days ago
  • Re: THANK YOU SOOOOO MUCH!!!
    38 weeks 2 days ago
All contents copyright © 2008, Dhuha Net. All rights reserved
Ubuntudoctor® is a member of the Dhuha Network. Privacy Policy
RoopleTheme