What program? I'd like to test it on my machine!!! Best Regards /John
tor 2007-05-10 klockan 10:53 +0100 skrev Chris Smith: > Yes, I am using Linux, so I'll just follow the other thread. > > What I find strange though is that another program written in PyGame > (although the sound code is a bit different) works just fine. I'll try > and isolate the differences and see if I can track down exactly what > code does what > > Chris > > > > On 5/9/07, Andrew Pape <[EMAIL PROTECTED]> wrote: > > Hi, > > I recently had a similar problem, and the solution, given to > me, is below. It assumes you're running linux. > Hope it helps. The first "export" line did the trick for me. > If you need further help, you'll have to ask others. > > Cheers, > > Andrew. > > >you can force SDL to use ALSA or OSS by setting an > environment variable, > >see this page: > http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fenvvars > > >You could try using the OSS emulation provided by ALSA: > > >$ export SDL_AUDIODRIVER=dsp > >or: > >$ export SDL_AUDIODRIVER=dma > >then: > >$ python program-name.py > > >or forcing ALSA: > > >$ export SDL_AUDIODRIVER=alsa > > >In my travels I've encountered stories of the ALSA OSS > emulation working > >"better" than the native ALSA drivers, I can't verify that > though, > >cheers, > >John. > > > > Send instant messages to your online friends > http://au.messenger.yahoo.com > > > > > > -- > Science is open source religion
