[sdlsound] SDL_sound 2.0 details revealed!

Ryan C. Gordon icculus at clutteredmind.org
Thu Jul 29 14:48:49 EDT 2004

> Although I personally have no need for such a feature (since I've
> coded it myself), I still think it'd be cool to include function calls
> in the new API to dynamically affect the playback rate of a given
> sound, over time. All sorts of expensive interpolation is required,
> once the user requests this feature, but until then, there would be no
> need for a performance hit.

Well, we need to be able to alter the sample rate as we decode, since it
has to be converted to the device format. The poor man's pitch shifting
is just a matter of tweaking the sample rate anyhow, so this isn't
unheard of.


More information about the sdlsound mailing list