18

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.

Cfinley
  • 1,435

8 Answers8

5

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

You can choose output for each app.

Mike
  • 51
5

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.

1

This is an old question, but I found a nice GUI solution to this (As of Nov. 2022), which may be fairly specific to my environment.

I have:

  • Manjaro Linux (Arch based)
  • KDE
  • PipeWire

All I had to do to change what audio device Firefox output on was to click the Sound icon in the system taskbar > Applications Tab > Menu icon next to Firefox to change what audio device it played on. See screenshot:

audio configuration in KDE

0

On Ubuntu Mate 20.04 I had the same problem with Firefox after doing some reading I installed pavucontrol from the snap.
Without making any changes it seems to have fixed my problem.

Tetsujin
  • 50,917
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.

-2

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
  • 1
-3

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
  • 8,673
  • 5
  • 42
  • 45
-3

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.