Re: [Gajim-devel] Fallback to OSS when no soundplayer found

2011-05-23 Thread Zhihao Yuan
On Mon, May 23, 2011 at 8:02 AM, Jonathan Schleifer
js-ga...@webkeks.org wrote:
 Am 12.04.2011 um 10:40 schrieb Zhihao Yuan:

 This is only on when there is no soundplayer (e.g., aplay, ossplay,
 esdplay...) found by gajim. Whenever you have one of them, my patch
 won't be executed.

 When I have no soundplayer installed, it still might happen that I have other 
 applications installed that might want to use sound, right? So it is an issue 
 if Gajim opens the sound device and doesn't even let me disable that.

 --
 Jonathan



If you did not try this version, then don't argue this.

gajim does not own OSS device during the whole session. If the device
is in use, gajim does not plays sound; if the device is not in use,
gajim only opens the device for 1 or 2 seconds.

-- 
Zhihao Yuan
The best way to predict the future is to invent it.
___
Gajim-devel mailing list
Gajim-devel@gajim.org
http://lists.gajim.org/cgi-bin/listinfo/gajim-devel


Re: [Gajim-devel] Fallback to OSS when no soundplayer found

2011-05-23 Thread Jonathan Schleifer
Am 23.05.2011 um 21:52 schrieb Zhihao Yuan:

 if the device is not in use,
 gajim only opens the device for 1 or 2 seconds.


Which is *EXACTLY* the problem. If I start my movie player and someone sends me 
a message, I don't have any audio. Depending on how long the sounds is (4 
seconds are normal due to fade out), that's quite a long time for a single 
message. Having enabled sound for people signing on, I'm pretty much screwed if 
I ever want to use my soudcard for something besides Gajim …

So no, if there is no sound player that allows playing sounds with mixing, 
Gajim should not play any sounds.

--
Jonathan



PGP.sig
Description: Signierter Teil der Nachricht
___
Gajim-devel mailing list
Gajim-devel@gajim.org
http://lists.gajim.org/cgi-bin/listinfo/gajim-devel