LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   xmms and gaim conflicting (https://www.linuxquestions.org/questions/linux-software-2/xmms-and-gaim-conflicting-228997/)

dubya 09-10-2004 12:36 PM

xmms and gaim conflicting
 
Hey,
This is an annoying little problem: if I'm listening to a playlist, and gaim needs to make a sound (user log on, message received, etc), it will wait until xmms is finished a song then make all the sounds that it has been waiting to make which then stops xmms saying that the sound card is busy.

Is there a way I can get gaim to just try and if it doesn't get through, then it gives up? Or is there a way to configure my soundcard for multiple sounds (ie, gaim sounds play over xmms)? Any help would be greatly appreciated, thanks in advance.

darkleaf 09-10-2004 01:49 PM

Which sound system are you using. Also if you're using a desktop environment it helps listing them. For alsa there's a howto in the alsawiki called AlsaSharing. It's in there. I think the easiest way was with a sound sever from a desktop environment.

Junior41180 09-10-2004 01:57 PM

using the oss sound driver?

darkleaf 09-10-2004 02:34 PM

Hmm. Upgrade to ALSA :D I don't know for OSS but it's seems to be getting outdated.

Junior41180 09-10-2004 07:22 PM

Quote:

Originally posted by darkleaf
Hmm. Upgrade to ALSA :D I don't know for OSS but it's seems to be getting outdated.
and iirc, doens't support multiple sounds at one time.

UsualTuxpect 09-10-2004 07:46 PM

1) open xmms --->preferences--->Audio I/o plugins---->Output plugins ---> Check if u have Esound output plugin [libesdout.so] and select it..

2)restart xmms


3) go to gaim --->tools-->preferences---->Sounds {See if esound shows up} ---> select it ---> goto
Sound events and select all the sound events u wanna turn on ---> highlight one of the events and
click on test... it should work even when u are listening to a song on XMMS [ ie. with esound output plugin selected]


4) if the above step fails

go to gaim --->tools-->preferences---->Sounds --->select Command --> in the text box "type" --->esdplay %s ---> goto Sound events and select all the sound events u wanna turn on ---> highlight one of the events and click on test... it should work even when u are listening to a song on XMMS [ ie. with esound output plugin selected]

darkleaf 09-11-2004 03:41 AM

Quote:

Originally posted by Junior41180
and iirc, doens't support multiple sounds at one time.
Yep it does. In my earlier post I mentioned the ALSAwiki about AlsaSharing. It's in there

megaspaz 09-11-2004 04:11 AM

using kde is much like UsualTuxpect's post if you're using arts as the sound server (which allows sound mixing and uses OSS). set up xmms to use arts and set up gaim to use arts in the programs' preferences. I'm a bit behind in the gaim version, but using version 0.75, there is arts support built in. you may have to recompile gaim for arts support in later versions though.

dubya 09-12-2004 04:28 PM

Thanks UsualTuxpect! That worked fine.

dubya 09-16-2004 09:59 PM

darkleaf, can you post the link to this alsawiki or the alsasharing thing, I'd like to look into this. Thanks.

darkleaf 09-17-2004 08:48 AM

Don't you have google?

http://alsa.opensrc.org/
http://alsa.opensrc.org/index.php?page=AlsaSharing

dubya 09-17-2004 10:39 AM

Sorry, I meant to edit that last post cause I did find it...however, I'm not sure which of the cases that it explains I fall into and how to find out. The cases are:

* The card supports hardware mixing.
* The card does not support hardware mixing, but all processes accessing it run applications that use the ALSA library.
* The applications use a sound server to access the card.
* The applications use the OSS API to access the card.

Anyone know how I can find out? I thought it was the first one because my computer is only a year old. Perhaps I'm wrong, any help would be appreciated. Thanks.

darkleaf 09-17-2004 10:50 AM

The sound server is for example the ones that are in KDE and Gnome.
Hardware mixing seems to be on every new card so you migth want to try googling on your card to see if it is. (Maybe check the HCL here on linuxquestions)

I don't know the others but from your posts I think one of these might be true already so you don't have to searchany further


All times are GMT -5. The time now is 08:03 PM.