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

Poll

Favourite console text editor in Ubuntu:

LXer -- Linux and Open Source News

  • How to correctly create ODF documents using zip
  • Ubuntu Server: The Linux OS Dark Horse
  • 7 of the Best Free Linux Medical Imaging Software
  • Digg Moves From MySQL to NoSQL
  • This week at LWN: SCALE 8x: Color management for everyone
more

Linux Today

  • A System Monitoring Tool Primer
  • Linux coolness: Linux Cooler, Linux serves you beer
  • OSI Board Addition May Bring Needed Change
  • Top 10 IT Billionaires -- A Closer Look
  • Proof Of Concept: Open-Source Multi-GPU Rendering!
more

Linux Insider

  • Android Has Enough Class for Opera
  • Ubuntu Dumps the Brown
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

  • Configure ThinkPad laptop trackpoint on Ubuntu
  • How to make WPA connection in Ubuntu on demand
  • Review: Sabily 9.10 - Linux Ubuntu for Muslims
  • How to Install 64bit flash on Ubuntu
  • How to get Wireless LAN (Broadcom) on Acer Aspire 4720Z working with Ubuntu 9.10
  • Quick loot at Ubuntu 10.04 Lucid Lynx Alpha 3
  • System testing and benchmarking under Ubuntu 9.10
  • How to PXE booting Ubuntu Installer
  • How to Install Debian onto your Nexus One using Ubuntu
  • (Re) Install a Linux Kernel
more

Linux World

  • Microsoft's Internet Driving Licence: stupid, unworkable and unenforceable
  • Making a videoloop with Kino and Audacity
  • So is ChromeOS a desktop winner? I think not
  • Firefogg: Transcoding videos to open web standards with Mozilla Firefox
  • The Morevna Project: Anime with Synfig and Blender
Archive Syndicate content

Recent comments

  • Re
    9 weeks 5 days ago
  • Re
    9 weeks 6 days ago
  • Re
    10 weeks 5 days ago
  • Re
    11 weeks 2 days ago
  • Re
    11 weeks 6 days ago
  • Re
    12 weeks 2 hours ago
  • Re
    12 weeks 1 day ago
  • iwl3945
    13 weeks 5 days ago
  • HomeBank
    25 weeks 6 days ago
  • KMyMoney and direct connect to banks
    30 weeks 1 day ago
All contents copyright © 2008, Dhuha Net. All rights reserved
Ubuntudoctor® is a member of the Dhuha Network. Privacy Policy
RoopleTheme