LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-18-2007, 06:07 AM   #1
adrianmariano
Member
 
Registered: Dec 2004
Distribution: Ubuntu Trusty
Posts: 134

Rep: Reputation: 15
Sound: programs block each other


I installed debian lenny with fvwm and found that if I used sound in firefox (iceweasel) it would block other programs' ability to use sound until I quit out of firefox.

I thought that the problem was the use of OSS. I switched firefox to use alsa-oss (aoss) and I switched XMMS to use ALSA and then I didn't have this conflict any more between those apps. But then I installed Audacity and it was blocked by firefox. I switched it to ALSA and then it worked. But when I installed snd I discovered that it was blocked by firefox. And snd is using jack which is set to use ALSA (according to qjackctl). So now I have a case I can't seem to fix.

Is there some general solution to this problem? It's kind of annoying to constantly fight this issue with every new sound using program. It seems kind of like firefox is the main offending program, since that's what I always end up having to kill. But why does everything want to use OSS by default? Isn't OSS the old, obsolete sound system? And why will the program that uses jack with ALSA not work with firefox?
 
Old 09-18-2007, 08:42 AM   #2
morris.mwanga
LQ Newbie
 
Registered: Jul 2006
Posts: 1

Rep: Reputation: 0
EsounD is the solution

Hi,
Download and compile EsounD , It enables apps to share the soundcard,
Have a nice afternoon
/Morris



Quote:
Originally Posted by adrianmariano View Post
I installed debian lenny with fvwm and found that if I used sound in firefox (iceweasel) it would block other programs' ability to use sound until I quit out of firefox.

I thought that the problem was the use of OSS. I switched firefox to use alsa-oss (aoss) and I switched XMMS to use ALSA and then I didn't have this conflict any more between those apps. But then I installed Audacity and it was blocked by firefox. I switched it to ALSA and then it worked. But when I installed snd I discovered that it was blocked by firefox. And snd is using jack which is set to use ALSA (according to qjackctl). So now I have a case I can't seem to fix.

Is there some general solution to this problem? It's kind of annoying to constantly fight this issue with every new sound using program. It seems kind of like firefox is the main offending program, since that's what I always end up having to kill. But why does everything want to use OSS by default? Isn't OSS the old, obsolete sound system? And why will the program that uses jack with ALSA not work with firefox?
 
Old 09-18-2007, 04:31 PM   #3
adrianmariano
Member
 
Registered: Dec 2004
Distribution: Ubuntu Trusty
Posts: 134

Original Poster
Rep: Reputation: 15
ALSA allows programs to share the sound system. I've had firefox and XMMS simultaneously playing sound.

I tried esd (esound) but there seemed to be a long latency. I would press the "stop" button and sound would continue for 1-2 seconds more. It's not clear that this solves the problem either, since alsa programs can't run when esd is running. I can try to force all the programs to run under esd, but this requires that I invoke programs with the wrapper. And it's not clear how to run jack so that it uses esd.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need example programs for Block Device Drivers asprakash Linux - Kernel 4 07-04-2006 01:17 AM
Can you block programs (like p2p) by protocol examining? servnov Linux - Networking 3 10-02-2005 04:33 PM
KDE blocks sound? cant play sound from other programs. Smurfen Linux - Hardware 1 04-02-2005 07:14 PM
While XMMS is outputing sound, sound from other programs doesn't output untill after. brynjarh Linux - Newbie 2 07-09-2004 04:39 PM
how to block selected programs from access to network red11 Linux - Software 0 03-28-2004 09:08 PM


All times are GMT -5. The time now is 05:58 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration