[sdlsound] libFLAC 1.0.3

Andersson Torbjorn E torbjorn.e.andersson at tietoenator.com
Mon Jul 8 02:24:22 EDT 2002


Ryan C. Gordon wrote:

> I can put a test in configure.in, if you can tell me what changed.

Great! Most of the changes - that matters to us, at least - were in type
and constant names:

FLAC__STREAM_DECODER_WRITE_CONTINUE has become
FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE
FLAC__STREAM_DECODER_READ_END_OF_STREAM has become
FLAC__STREAM_DECODER_READ_STATUS_END_OF_STREAM
FLAC__STREAM_DECODER_READ_ABORT has become
FLAC__STREAM_DECODER_READ_STATUS_ABORT
FLAC__STREAM_DECODER_READ_CONTINUE has become
FLAC__STREAM_DECODER_READ_STATUS_CONTINUE
FLAC__StreamMetaData has become FLAC__StreamMetadata

(The decoder defines its own aliases for these to make it easier to support
the seekable stream decoder in later versions of libFLAC, and because I
couldn't stand typing the full names all the time. :-)

And, to avoid compiler warnings, I had to change the buffer argument to the
write callback from "const FLAC__int32 * buffer[]" to "const FLAC__int32 *
const buffer[]".

All you should have to do, once the configure.in changes are in place, is to
take the patch I included in my previous mail and change #if 0 to
#if FLAC_102_OR_EARLIER, or something like that.

Torbjörn

-- 
TietoEnator Resource Management AB
Persona
Torbjörn Andersson
http://www.rm.tietoenator.com/
 



More information about the sdlsound mailing list