Choose automatically audio device for Flash Player
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.

