[H-GEN] pulseaudio + pygame

Peter Robinson pjr at itee.uq.edu.au
Wed Jul 29 00:56:58 EDT 2009


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
>   




More information about the General mailing list