[SDL] OSS audio driver(s).

xodnizel xodsdl at starmen.net
Sun Dec 14 16:21:33 PST 2003


I've made a patch against 1.2.6's SDL_dspaudio.c(for the "dsp" audio driver).

http://xodnizel.net/junk/SDL_dspaudio.c.diff

It works fine for me(with my ES1371 card, 1.2GHz Celeron CPU), but if anyone 
else could try it and see if it works, I'd appreciate it.

On Sunday 14 December 2003 16:40, xodnizel wrote:
> In 1.2.6, the buffer size passed to SDL_OpenAudio() controls the fragment
> size.
>
> Wouldn't it make more sense to keep the fragment size low, to increase
> responsiveness, and instead calculate the number of fragments based on the
> buffer size passed to SDL_OpenAudio()?
>
> In my own code that uses /dev/dsp, I've always had better results(fewer
> dropouts, and better response times) using a small fragment size with
> many(6 to 8)  fragments, though I've only tested said code on a few
> devices, such as the SB Pro, an ES1371 card, and an SB Live.
>
> Does anyone else have any experience in this area?
>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl





More information about the SDL mailing list