[H-GEN] Fwd: pulseaudio + pygame

matheist76 at westnet.com.au matheist76 at westnet.com.au
Wed Jul 29 01:02:04 EDT 2009


For some reason I alway forget to direct these to general. My bad.

----- Forwarded Message -----
From: matheist76 at westnet.com.au
To: "Peter Robinson" <pjr at itee.uq.edu.au>
Sent: Wednesday, 29 July, 2009 3:01:11 PM GMT +10:00 Brisbane
Subject: Re: [H-GEN] pulseaudio + pygame

Nice one Daniel.

Matt

----- Original Message -----
From: "Peter Robinson" <pjr at itee.uq.edu.au>
To: "Brendon Higgins" <blhiggins at gmail.com>
Cc: general at lists.humbug.org.au
Sent: Wednesday, 29 July, 2009 2:56:58 PM GMT +10:00 Brisbane
Subject: Re: [H-GEN] pulseaudio + pygame

[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

Hi Brendon,
I got sorted out by Daniel Devine who suggested calling
mixer.pre_init(44100, -16, 2, 512)
before
pygame.init()

That worked fine.


Brendon Higgins wrote:
> [ Humbug *General* list - semi-serious discussions about Humbug and     ]
> [ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
>
> Hi Peter,
>
>   
>> ----- Original Message -----
>> From: "Peter Robinson" <pjr at itee.uq.edu.au>
>> To: "Humbug General" <general at lists.humbug.org.au>
>> Sent: Tuesday, 28 July, 2009 7:58:27 AM GMT +10:00 Brisbane
>> Subject: [H-GEN] pulseaudio + pygame
>>
>> [ Humbug *General* list - semi-serious discussions about Humbug and     ]
>> [ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
>>
>> I am running Ubuntu Jaunty with pulseaudio. I found that pulseaudio
>> interacts badly with sound in pygame.
>> Alsa+esound had no such problem. Any thoughts about how to rectify the
>> problem (apart from removing pulseaudio)?
>>     
>
> I'm afraid I know very little about PulseAudio, although I know something 
> about PyGame. The only suggestion I have is that, seeing as PyGame is a 
> wrapper for LibSDL, it might be useful to check if any SDL-based program 
> exhibits the same behaviour. Chances are that it will, but if not, that may 
> narrow your target.
>
> Peace,
> Brendon
> _______________________________________________
> General mailing list
> General at lists.humbug.org.au
> http://lists.humbug.org.au/mailman/listinfo/general
>   

_______________________________________________
General mailing list
General at lists.humbug.org.au
http://lists.humbug.org.au/mailman/listinfo/general



More information about the General mailing list