Change the audio output device in Firefox

14

4

I'm trying to play music through Ventrilo and currently I use Virtual Audio Cable. The way it works is that in foobar2000 (a music playing program) I set the output device in preferences to Virtual Audio Cable. Then in Ventrilo I log in to another name and set the input device to Virtual Audio Cable. This routes the music through the Virtual Audio Cable and allows me to play the music through Ventrilo.

However, I would also like to change the output device for Firefox (or any other browser) or "Plugin Container for Firefix" to Virtual Audio Cable so that I could play music from Pandora or YouTube on to Ventrilo. Unfortunately I could not find an option for this anywhere.

Zanami Zani

Posted 2011-05-05T00:28:19.963

Reputation: 141

Answers

4

One thing you can do since I had the same issue is set your OS to use a virtual cable as the default device.

Adobe Flash uses windows defaut and in doing this you will have set firefox to use the VAC for flash based objects (I have verified that flash is sending the audio not firefox for flash based objects or movies)

Then simply use a repeater to send that VAC to your original sound device (soundcard) so you will hear everything like normal but have a VAC tied in the middle that you can work with to do other things.

Ultimately, what worked best for me was to just use a secondary device and send it to my computer with a line-in (use my hp touchpad) this let me drop the huge net of VAC and Repeaters that was causing a delay in my recordings and also let me control that external audio source while in game easily since its on a separate device.

ViciousXUSMC

Posted 2011-05-05T00:28:19.963

Reputation: 41

3

Software solution for this: https://github.com/audiorouterdev/audio-router

You can choose output for each app.

Mike

Posted 2011-05-05T00:28:19.963

Reputation: 31

2

Please read How do I recommend software for some tips as to how you should go about recommending software. You should provide at least a link, some additional information about the software itself, and how it can be used to solve the problem in the question.

– DavidPostill – 2017-02-26T17:51:25.457

1

I've found that I have to restart my browser after switching the default OS audio input/output. It seems that Flash and other plugins bind themselves to the default sound device on startup. It really would be nice to be able to switch this at run time.

erikcw

Posted 2011-05-05T00:28:19.963

Reputation: 253

0

Found your answer:

Use virtual audio cable (search it) to create a new virtual audio line. Once line 1 is working, go to sound in the control panel and change the default sound device to line 1. Open 2 vent applications. For the one you want to play music thru change the input to line 1 and the output to speakers. Outside setup check the mute sound option at the bottom of the vent window. (Having sound on will cause lots of echo.)

For your other user select input to be headset. And output to be stereo mix or speakers. This way you and all others will be able to hear the music over vent and you can still speak without echos. Open firefox last so it binds to the default device (line 1). And enjoy.

(NOTE: You will not be able to hear sound from firefox without being in vent where it is coming from. To change it back just go to sound and select speakers as the default device again.

Hope this helps.

user251715

Posted 2011-05-05T00:28:19.963

Reputation: 1

Anon Commented: You can select "Line 1" and enter its properties, checking "Listen to Device." Then, he doesn't need to be in the same channel or even have the "user" playing to his ears. However, I don't use the same VAC as you do. I don't have "Lines." Regardless, I do this in TeamSpeak. Perfectly fine. – Psycogeek – 2015-10-08T09:51:35.913

-1

Jason Sherman afforded a very comprehensive overview of this functionality. I appreciate. But as a workaround, you could redirect whole audio output toward speakers (while headphones plugged in) in Windows 10. You can do the trick by right-clicking on speaker icon in system tray. Choose Playback device. Press 'Set Default' button after clicking on speakers. Voila! Your audio is in the speakers with headphones plugged in.

K J

Posted 2011-05-05T00:28:19.963

Reputation: 1

-1

You're doing it wrong. Typically, applications use the OS-provided libraries to output sound. Thus, the settings should be located... you guessed it, in the OS sound configuration. I forget exactly where it is in Windows 7, but if you search for "sound" in the start search, it should be easy enough to find.

Hello71

Posted 2011-05-05T00:28:19.963

Reputation: 7 636

I couldn't find it. I'm not trying to change my default playback device. I still want to be able to hear incoming sound with my headset and that's why Virtual Audio Cable is so nice. – Zanami Zani – 2011-05-05T01:16:52.140

2The answer from Hello71 isn't correct. There are many cases where you might want the audio from one application to go to a different device than other applications. Doing this from the OS is not possible - it has to be done from within the application. – None – 2012-03-16T11:52:00.087

@Anon: This is hypothetically possible from the OS; however, most OSes simply implement an audio sink because separate audio devices are an edge case. – Hello71 – 2012-03-17T01:02:20.757

2Wrong, output device can and should be an application function. Many applications will use only the default Windows sound device, much to the frustration of many users, Flash Player being one of the major ones. This makes the solution you propose still the only option, but what other choice do you have eh? – None – 2012-02-26T18:33:23.000

-1

Output device selection is an application function. Firefox doesn't actually do any audio output, so it doesn't have a setting. The software actually responsible for selecting an output device and playing audio is the plugin, Adobe Flash Player in most cases.

Unfortunately, Adobe has not yet seen fit to create a way to configure Flash Player to use a specific output device. It always uses the system default.

As a potential workaround, you might be able to configure everything else to use what should be the default, then change the default to the alternate... But that's terribly cumbersome.

Jason Sherman

Posted 2011-05-05T00:28:19.963

Reputation: 1 071

4This wasn't entirely true when you answerd this and certainly isn't now. Firefox has supported HTML5 audio since at least Q1 2011 and it is enabled by default now. – cb88 – 2015-05-17T13:23:42.133