[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] [newbie] Sound within pygame



On Thu, 19 Aug 2004, Adam wrote:

>flbl@go.wifl.at.org wrote:
>> Does it quit before it is able to play the sound?
>>
>> Try adding something like
>>
>> pygame.time.delay(1000)
>>
>> at the end to give it a second to play the sound
>>
>
>Good suggestion, but it still doesn't work. Could this be a volume
>setting? I have set the OS volume to max, but does pygame have a volume
>setting that I might need to change before the sound is played?

I you use Linux and ALSA make sure that all the ALSA channels aren't
muted (they are by default). Has bitten me before...

-- 
  +++ Divide By Cucumber Error. Please Reinstall Universe And Reboot +++
                                        -- Terry Pratchett, Hogfather