LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Can't get multiple sounds to work ... (https://www.linuxquestions.org/questions/slackware-14/cant-get-multiple-sounds-to-work-244119/)

sys7em 10-18-2004 06:18 AM

Can't get multiple sounds to work ...
 
Here's my issue. I'm playing song with xmms and sim (simple instant messenger ... somethin' like licq) is working at the same time. When I receive a msg from sim none of the sim system sounds is played at all. I stop xmms and all these system sounds from sim are being played with delay ..... So ..how can I fix these two apps's sounds (and all other sounds in linux) to work at the same time ..?

ilikejam 10-18-2004 07:45 AM

Hi.

If you can, use ALSA instead of OSS in your apps - ALSA supports multiple programs at the same time. If your apps don't support alsa, they may support esd or arts. If so use one of those. If that's not an option, try running your apps as:
Code:

artsdsp sim
and
Code:

artsdsp xmms
artsdsp can mix the output from several programs so that you can hear them at the same time.

Dave

sys7em 10-18-2004 01:19 PM

First of all. Thanks for your answer. I'll try that ..but in sim the sounds are played simply with the command "play" . How can I tell play to use the alsa sound output?

ilikejam 10-18-2004 04:25 PM

Hmmm.

On my system (which is using alsa with oss emulation), I can have several instances of 'play' running at the same time, so it would appear that if alsa is being used (with oss emulation, and not oss itself), then you shouldn't be having the problem you're having.

Could you post the output from lsmod to see which sound modules are in use?

Edit: I've just read the 'diary' bit on your website, and you seem to be running alsa. You might have to turn on OSS emulation. You might have to remove the oss modules too. That's the only thing I can think which might be wrong.

Dave

Bernoulli 10-18-2004 09:48 PM

use esound sound server (for NonKDE) or arts (KDE) .
in case of you choose esound - use esdplay to mix wavs (not play command).
in case of arts - use artsplay .
f_ck , i've forgotten english ...
to use alsa drivers or use alsaconf or load by hand snd-* modules (ususally placed at /lim/modules/$KERNEL_VERSION/asound ... AFAIK)

sys7em 10-19-2004 02:25 PM

It worked:p :cool: :D :D ... cool ..Thanks ya'all :)


All times are GMT -5. The time now is 06:59 AM.