[Gajim-devel] Fallback to OSS when no soundplayer found
asterix at lagaule.org
Mon Apr 11 18:06:33 CEST 2011
On 04/11/2011 05:55 PM, Zhihao Yuan wrote:
> Maybe for a Linux user, aplay is always available; but for many
> FreeBSD users like me, we don't have any soundplay (even ossplay)
> installed by default. Our own oss implementation is much better than
> 4Front's, and we don't use esound or arts.
> This patch make use of wave and ossaudiodev which where built into
> python, and it deal with little endian wav sound.
I see 2 problems with that:
1/ it's blocking, so playing a sound blocks UI. We need to run that in a
2/ What happens if you try to play 2 sounds at the same time? (2
contacts connects at the same time)
More information about the Gajim-devel