FLAC__StreamDecoderReadStatus

Return values for the FLAC__StreamDecoder read callback.

Values

ValueMeaning
FLAC__STREAM_DECODER_READ_STATUS_CONTINUE
FLAC__STREAM_DECODER_READ_STATUS_END_OF_STREAM

< The read was OK and decoding can continue.

FLAC__STREAM_DECODER_READ_STATUS_ABORT

< The read was attempted while at the end of the stream. Note that the client must only return this value when the read callback was called when already at the end of the stream. Otherwise, if the read itself moves to the end of the stream, the client should still return the data and \c FLAC__STREAM_DECODER_READ_STATUS_CONTINUE, and then on the next read callback it should return \c FLAC__STREAM_DECODER_READ_STATUS_END_OF_STREAM with a byte count of \c 0.

Meta