Telling playsound what format to use

Ryan C. Gordon icculus at
Fri Oct 12 13:03:34 EDT 2001

> This is an attempt to add options to playsound to set sample rate,
> format and channels. I'm not sure if it's working correctly. I mean, I
> can use it to force bad frequency conversions so obviously it's doing
> something right. However, some of the conversions I tried led to choppy
> sound (too small buffer, perhaps?), complete silence or awful noise. In
> some cases it sounded as if only part of the audio had been converted.

We'll have to look at the conversion stuff more closely, because, if I
haven't said it recently, we really need to rewrite the converter.  :)

I've committed the changes to CVS.  Thanks!


More information about the sdlsound mailing list