The stream decoder can be used to decode complete streams either from the client via callbacks, or directly from a file, depending on how it is initialized. When decoding via callbacks, the client provides callbacks for reading FLAC data and writing decoded samples, and handling metadata and errors. If the client also supplies seek-related callback, the decoder function for sample-accurate seeking within the FLAC input is also available. When decoding from a file, the client needs only supply a filename or open
FILE* and write/metadata/error callbacks; the rest of the callbacks are supplied internally. For more info see the stream decoder module.
|FLAC/stream_decoder.h: stream decoder interface|
|Copyright (c) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson|