[SDL] SDL 1.3 audio API proposal...

Will Langford unfies at gmail.com
Sat Aug 5 13:46:10 PDT 2006


On 8/4/06, Peter Mulholland <darkmatter at freeuk.com> wrote:
>
> Ryan C. Gordon wrote:
> > If you mean mixing between samples that aren't power-of-two frequencies,
> > that's actually a limitation of SDL 1.2...I plan to fix that in 1.3
> > without any API changes.
>
> What I meant was like FMOD, where you can arbitrarily specify the
> playback frequency per channel at run time (so you can implement effects
> like Doppler etc). Basically, the same thing as what most MOD player
> engines do.
>
> Pete.



I've written a few s3m/mod/etc players before ... coming up with a good and
fast mixer can be a horrid chore (unless of course, you just choose to rip
off someone else's).

Blunt frequency changers (without doing any FFT's etc... but rather just
duplicating/skipping samples based on ratio of playback rates) are fast and
relatively ugly... and would only take a lil bit of time to implement....
the prettier mixers are a completely different story.... and you'd prolly
also want an API to pick what kind of resampling you want, etc...

I'm not sure if this SDL turf or application turf.  I'm leaning towards
application myself.

Just my two cents.

-Will
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060805/32f51f1a/attachment.html 


More information about the SDL mailing list