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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How do I get Linux to play more than one sound at once? ie: I can't get sound from xine and mozilla at the same time or xmms/games. I stopped artsd from starting because it seems to cause problems with pretty much all my programs. Is there something I'm doing wrong?
Originally posted by JunLitsu How do I get Linux to play more than one sound at once? ie: I can't get sound from xine and mozilla at the same time or xmms/games. I stopped artsd from starting because it seems to cause problems with pretty much all my programs. Is there something I'm doing wrong?
Well playing more than one sound at a time is called mixing.
In your case if the /dev/dsp is locked and is not accesible by another program you can't play two music at once.
Instead if your soundcard supports it use your line-out plug in the soundcard as second sound source ie output your another program's sound through /dev/dsp1.
If you tell me your sound card maybe I can help you.
Incidentally you did the right thing by turning off artsd .I consider that to be a piece of junk.
You certainly don't need to mess around with cables.. strange idea... What you need to do is to tell the programs what sound derver to user, gnome uses esd, kde uses arts, and you've not told us which you're using, which isn't useful...
in xine you can easily just change the sound output in the options (mplayer is a much much better media player btw...). As for Mozilla, you'll probably need to use a sound wrapper like the inspiredly titled "soundwrapper" for esd, can't remember the arts one off hand, as KDE sucks. so if it is Gnome, try running "soundwrapper mozilla" instead of just mozilla directly.
Originally posted by acid_kewpie You certainly don't need to mess around with cables.. strange idea... What you need to do is to tell the programs what sound derver to user, gnome uses esd, kde uses arts, and you've not told us which you're using, which isn't useful...
in xine you can easily just change the sound output in the options (mplayer is a much much better media player btw...). As for Mozilla, you'll probably need to use a sound wrapper like the inspiredly titled "soundwrapper" for esd, can't remember the arts one off hand, as KDE sucks. so if it is Gnome, try running "soundwrapper mozilla" instead of just mozilla directly.
I agree that it is a strange idea but I have done that in the past ,2 outputs.
And as it is: using a soundwrapper is better than my idea.
At least we agree about KDE and arts.
I've just installed an LFS system and using the ALSA drivers for my SB Audigy I can mix multiple sound-playing apps into one /dev/dsp... don't need to configure for /dev/dsp(n)...
I used to think ESD was the only way to fix something like this but I guess drivers have finally caught up. (Or is this maybe a problem with a lack of /dev/mixer ?)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.