[pulseaudio-discuss] [PATCH] Fix PA driver in SDL

Stéphan Kochen stephan at kochen.nl
Tue Apr 1 03:54:07 PDT 2008

Hash: SHA1

Colin Guthrie wrote:
> Lennart Poettering wrote:
>> Hey, all you game kiddies!
>> Here's a patch for SDL that fixes all those buffering issues in the PA
>> backend for SDL.
>> http://0pointer.de/public/sdl-pulse-rework.patch
>> Will post this upstream, too.
>> https://bugzilla.redhat.com/show_bug.cgi?id=439847
> Just tested it. Certainly the latency is gone but I'm sure there is a
> little stutter/quality issue still present. For me frozen-bubble seems
> to sound slightly scratchy and a little slower with the pulse plugin.
> Using esd it seems fine.
> wesonth also sounded a little scratchy.
> I've not got the best sound h/w here tho' so I can probably test a bit
> better tomorrow.
> Cheers for this. I ran into lots of annoying latency vs. quality issues
> when I tried to look at this issue.
> Col

When I wrote this (and even now), I didn't really have a clue what the
optimal parameters are for buffering. I mostly went by what worked for
me in VisualBoy Advance and one other game I happened to play a lot at
the time.

I'm glad someone from PulseAudio is taking a peek at this. :)

- -- Stéphan
Version: GnuPG v1.4.6 (GNU/Linux)


More information about the pulseaudio-discuss mailing list