FLAC__StreamDecoderState

State values for a FLAC__StreamDecoder

The decoder's state can be obtained by calling FLAC__stream_decoder_get_state().

Values

ValueMeaning
FLAC__STREAM_DECODER_SEARCH_FOR_METADATA0
FLAC__STREAM_DECODER_READ_METADATA

< The decoder is ready to search for metadata.

FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC

< The decoder is ready to or is in the process of reading metadata.

FLAC__STREAM_DECODER_READ_FRAME

< The decoder is ready to or is in the process of searching for the frame sync code.

FLAC__STREAM_DECODER_END_OF_STREAM

< The decoder is ready to or is in the process of reading a frame.

FLAC__STREAM_DECODER_OGG_ERROR

< The decoder has reached the end of the stream.

FLAC__STREAM_DECODER_SEEK_ERROR

< An error occurred in the underlying Ogg layer.

FLAC__STREAM_DECODER_ABORTED

< An error occurred while seeking. The decoder must be flushed with FLAC__stream_decoder_flush() or reset with FLAC__stream_decoder_reset() before decoding can continue.

FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR

< The decoder was aborted by the read callback.

FLAC__STREAM_DECODER_UNINITIALIZED

< An error occurred allocating memory. The decoder is in an invalid state and can no longer be used.

Meta