Speex support.

Ryan C. Gordon icculus at clutteredmind.org
Sat Sep 13 16:41:52 EDT 2003

I've added support to SDL_sound for decoding .spx files, via libspeex.
This is in CVS, now.

The code is kinda messy, but it appears to work for basic playback.

Rewinding and seeking aren't implemented, since I'm not really sure the
correct way to jump around in an Ogg stream (and dread digging into
vorbisfile's source to find out), but both _should_ be feasible.

It would be nice if there was a "speexfile" library to match vorbisfile,
but there isn't, so you have to screw with bitstream management yourself.
If anyone's bored and wants to implement seeking (and rewrite the nasty
code I threw down last night), let me know.


More information about the sdlsound mailing list