Sound stops in certain applications if any other application plays a sound file.
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Sound stops in certain applications if any other application plays a sound file.
I'm using RH9 and using the KDE.
If I'm watching a flash video, the sound plays only if no other sounds have been played before loading the swf file (Sounds include system beeps). If *any* sound plays before or during the flash video, the sound from the video ceases. The only way I can watch the flash video without experiencing a loss in sound, is to ensure that no other sound is played before opening the file. This means that I can never play any song on the computer before loading the swf file if I'm to watch the video with its sound.
I'm not using Flash Player 9 but Flash Player 7. Flash Player 9 does not play the sound under any circumstance, and often crashes my browser.
I face the same problem with a game called Chromium, so the problem does not lie in the Flash software alone, unless both of them are bugged (Chromium is shipped along with RH9).
I googled for help and came across some web pages which mentioned that some applications "capture" the sound device; but I'm not entirely sure if that is the problem, as my sounds are interrupted by ordinary system beeps too.
I don't know. When I issue ps -e, it shows artsd in the list. I've always thought that this is the sound daemon. Besides, the problem is not limited to flash; it also applies to Chromium. Note that Flash plays the sound-- it only stops if something else is played before or during the playback of the video.
arts is only a sound server which uses either ALSA or OSS (if I remember correctly - at least it works with ALSA, this is sure). The new Flash Player like other applications talk to the sound "infrastructure" itself, that is either ALSA or OSS. Use your rpm manager to find out what is installed and what not. What version are installed? I remember having such problems long ago with Mandriva (was still Mandrake at the time), but they have gone now ...
Well, I searched for the rpm oss, but I couldn't find it. But I found this: alsa-lib-0.9.8-1.fr.i386.rpm
Since there isn't any oss rpm on the system, I assume that the system uses alsa. It isn't a problem with Flash Player 9. If there was a problem with alsa, it should not have played the sound in the first place, right? What I can't understand is-- why do Chromium and flash stop playing sound after any sound is played on the system?
Is something "capturing" the sound device as it is called?
I doubt that you are using alsa because with alsa you can play sounds from multiple apps at the same time without one source stopping. Instead of wasting time with an old, outdated and unsupported distro why not just use something newer e.g. Fedora Core. All modern distros support alsa out of the box and OSS has now been deprecated.
Well, at least older versions of ALSA did not allow more than one application accessing the sound card (if the card didn't supported it itself, like many on-board chips). You could try to update your ALSA package, seems there are some more recent packages on http://rpm.pbone.net .
@reddazz
It seems gregorian has (an old version of) ALSA installed. And like I wrote above, at least older (but not THAT old) versions of ALSA wouldn't allow more than one application. I had the problem myself. Why change if the rest works? He could just as well change to Ubuntu then
Last edited by hansalfredche; 02-27-2007 at 12:36 PM.
It seems gregorian has alsa installed. And like I wrote above, at least older (but not THAT old) versions of alsa wouldn't allow more than one application. I had the problem myself. Why change if the rest works? He could just as well change to Ubuntu then
Sometimes its not worth the hassle and getting something newer is less problematic than trying to fix some problem on an old release.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.