LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 05-19-2003, 12:14 AM   #1
JunLitsu
Member
 
Registered: Apr 2002
Distribution: Gentoo
Posts: 95

Rep: Reputation: 15
playing more than one sound at once


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?
 
Old 05-19-2003, 12:42 AM   #2
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Re: playing more than one sound at once

Quote:
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.
 
Old 05-19-2003, 01:33 AM   #3
JunLitsu
Member
 
Registered: Apr 2002
Distribution: Gentoo
Posts: 95

Original Poster
Rep: Reputation: 15
I use the built in sound on the soyo kt333 dragon lite
What do you mean use the line out plug?
 
Old 05-19-2003, 02:21 AM   #4
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
I should have said line-in jack(or connector)
Some (not all) sound card support another output thourgh the line-in.
 
Old 05-20-2003, 12:05 AM   #5
JunLitsu
Member
 
Registered: Apr 2002
Distribution: Gentoo
Posts: 95

Original Poster
Rep: Reputation: 15
you mean hook up my speakers to <i>both</i> sound outputs??
 
Old 05-20-2003, 03:31 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 05-20-2003, 09:49 PM   #7
JunLitsu
Member
 
Registered: Apr 2002
Distribution: Gentoo
Posts: 95

Original Poster
Rep: Reputation: 15
thanks a lot
 
Old 05-21-2003, 12:55 AM   #8
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Quote:
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.
 
Old 05-21-2003, 10:09 AM   #9
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
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 ?)
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound heard during soundcard detection but no sound when playing CD thanhvn Linux - Software 6 07-04-2005 12:30 PM
Sound works but no sound when playing CD RRolleston Debian 4 01-05-2005 05:35 AM
Sound Card on Fedora Core 2 only playing test sound silverado0103 Linux - Hardware 0 07-29-2004 03:23 PM
Sound outputing when mic is used, but no output when playing a sound file medo Linux - Hardware 0 04-17-2004 07:33 PM
running Mandrake 9.2, i do have sound in x-chat, cd playing no sound. AdrEnochrOme Linux - Newbie 5 01-24-2004 03:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:31 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration