SFML community forums
General => Feature requests => Topic started by: resistor on September 15, 2009, 10:38:18 am
-
Just saying, it would be nice to have support for a voice-oriented codec. You can pack voice audio into a much smaller data file using voice-specific encoding as opposed to something more general like Vorbis.
-
Sounds like a good idea. I'll have a look at libspeex.
-
In theory at least, the Ogg file-parsing code should be shareable with the Vorbis playback stuff, but I don't think the STB codec exposes it at that level.
You could conceivably use liboggz + libfishsound (both from Xiph) to make a generic anything-in-an-ogg-container decoder that would support Vorbis, Speex, and FLAC all in one. See here (http://github.com/kfish/libfishsound/blob/master/src/examples/fishsound-decode.c) for an example.