LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Firefox - sharing sound with other applications? (https://www.linuxquestions.org/questions/linux-desktop-74/firefox-sharing-sound-with-other-applications-709712/)

madbrad 03-06-2009 04:16 PM

Firefox - sharing sound with other applications?
 
I've got Firefox 3.0.5 running under Linux 2.6.28.6 in a Slackware 12.0 distribution.

One of my biggest gripes with Firefox - well, at least how I've got it set up! - is how, once I've brought up a web page with any audio, I can't run any other application that also needs to play sound. Those applications all complain that they can't open the audio device - 'device busy'. I have to terminate Firefox to release it's 'hold' on the audio device. When you've got 40-50 tabs open that can be a real pain. :-(

I've looked a couple of times in the past into this problem, researching Firefox and how it might 'share' the audio device, seeing if can use the Enlightened Sound Daemon (esd) for example, and so forth. But I've always come up dry.

I'm using ALSA with OSS emulation compiled into the kernel.

Can anyone tell me how I can get Firefox to play nice with other audio applications?

Thanks!

pokey 03-12-2009 10:23 PM

Hi

A long shot but have a look to see if you have a file located in ~/.asoundrc
If not try putting this in it:

Code:

# for oss compatibility
pcm.dsp0 {
        type plug
        slave.pcm "dmix"
}

# for oss compatibility
ctl.mixer0 {
        type hw
        card 0
}



All times are GMT -5. The time now is 01:08 PM.