seekable_stream_decoder.h File Reference

Main Page Modules Class Hierarchy Alphabetical List Compound List File List Compound Members File Members

# include/FLAC/seekable_stream_decoder.h File Reference

This module contains the functions which implement the seekable stream decoder. More...

`#include "export.h"`
`#include "stream_decoder.h"`

Go to the source code of this file.

## Compounds

struct | FLAC__SeekableStreamDecoder

## Typedefs

typedef FLAC__SeekableStreamDecoderReadStatus(* | FLAC__SeekableStreamDecoderReadCallback )(const FLAC__SeekableStreamDecoder *decoder, FLAC__byte buffer[], unsigned *bytes, void *client_data)
typedef FLAC__SeekableStreamDecoderSeekStatus(* | FLAC__SeekableStreamDecoderSeekCallback )(const FLAC__SeekableStreamDecoder *decoder, FLAC__uint64 absolute_byte_offset, void *client_data)
typedef FLAC__SeekableStreamDecoderTellStatus(* | FLAC__SeekableStreamDecoderTellCallback )(const FLAC__SeekableStreamDecoder *decoder, FLAC__uint64 *absolute_byte_offset, void *client_data)
typedef FLAC__SeekableStreamDecoderLengthStatus(* | FLAC__SeekableStreamDecoderLengthCallback )(const FLAC__SeekableStreamDecoder *decoder, FLAC__uint64 *stream_length, void *client_data)
typedef FLAC__bool(* | FLAC__SeekableStreamDecoderEofCallback )(const FLAC__SeekableStreamDecoder *decoder, void *client_data)
typedef FLAC__StreamDecoderWriteStatus(* | FLAC__SeekableStreamDecoderWriteCallback )(const FLAC__SeekableStreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 *const buffer[], void *client_data)
typedef void(* | FLAC__SeekableStreamDecoderMetadataCallback )(const FLAC__SeekableStreamDecoder *decoder, const FLAC__StreamMetadata *metadata, void *client_data)
typedef void(* | FLAC__SeekableStreamDecoderErrorCallback )(const FLAC__SeekableStreamDecoder *decoder, FLAC__StreamDecoderErrorStatus status, void *client_data)

## Enumerations

enum

FLAC__SeekableStreamDecoderState {
FLAC__SEEKABLE_STREAM_DECODER_OK = 0, FLAC__SEEKABLE_STREAM_DECODER_SEEKING, FLAC__SEEKABLE_STREAM_DECODER_END_OF_STREAM, FLAC__SEEKABLE_STREAM_DECODER_MEMORY_ALLOCATION_ERROR,
FLAC__SEEKABLE_STREAM_DECODER_STREAM_DECODER_ERROR, FLAC__SEEKABLE_STREAM_DECODER_READ_ERROR, FLAC__SEEKABLE_STREAM_DECODER_SEEK_ERROR, FLAC__SEEKABLE_STREAM_DECODER_ALREADY_INITIALIZED,
FLAC__SEEKABLE_STREAM_DECODER_INVALID_CALLBACK, FLAC__SEEKABLE_STREAM_DECODER_UNINITIALIZED
}

enum | FLAC__SeekableStreamDecoderReadStatus { FLAC__SEEKABLE_STREAM_DECODER_READ_STATUS_OK, FLAC__SEEKABLE_STREAM_DECODER_READ_STATUS_ERROR }
enum | FLAC__SeekableStreamDecoderSeekStatus { FLAC__SEEKABLE_STREAM_DECODER_SEEK_STATUS_OK, FLAC__SEEKABLE_STREAM_DECODER_SEEK_STATUS_ERROR }
enum | FLAC__SeekableStreamDecoderTellStatus { FLAC__SEEKABLE_STREAM_DECODER_TELL_STATUS_OK, FLAC__SEEKABLE_STREAM_DECODER_TELL_STATUS_ERROR }
enum | FLAC__SeekableStreamDecoderLengthStatus { FLAC__SEEKABLE_STREAM_DECODER_LENGTH_STATUS_OK, FLAC__SEEKABLE_STREAM_DECODER_LENGTH_STATUS_ERROR }

## Functions

FLAC__SeekableStreamDecoder * | FLAC__seekable_stream_decoder_new ()
void | FLAC__seekable_stream_decoder_delete (FLAC__SeekableStreamDecoder *decoder)
FLAC__bool | FLAC__seekable_stream_decoder_set_md5_checking (FLAC__SeekableStreamDecoder *decoder, FLAC__bool value)
FLAC__bool | FLAC__seekable_stream_decoder_set_read_callback (FLAC__SeekableStreamDecoder *decoder, FLAC__SeekableStreamDecoderReadCallback value)
FLAC__bool | FLAC__seekable_stream_decoder_set_seek_callback (FLAC__SeekableStreamDecoder *decoder, FLAC__SeekableStreamDecoderSeekCallback value)
FLAC__bool | FLAC__seekable_stream_decoder_set_tell_callback (FLAC__SeekableStreamDecoder *decoder, FLAC__SeekableStreamDecoderTellCallback value)
FLAC__bool | FLAC__seekable_stream_decoder_set_length_callback (FLAC__SeekableStreamDecoder *decoder, FLAC__SeekableStreamDecoderLengthCallback value)
FLAC__bool | FLAC__seekable_stream_decoder_set_eof_callback (FLAC__SeekableStreamDecoder *decoder, FLAC__SeekableStreamDecoderEofCallback value)
FLAC__bool | FLAC__seekable_stream_decoder_set_write_callback (FLAC__SeekableStreamDecoder *decoder, FLAC__SeekableStreamDecoderWriteCallback value)
FLAC__bool | FLAC__seekable_stream_decoder_set_metadata_callback (FLAC__SeekableStreamDecoder *decoder, FLAC__SeekableStreamDecoderMetadataCallback value)
FLAC__bool | FLAC__seekable_stream_decoder_set_error_callback (FLAC__SeekableStreamDecoder *decoder, FLAC__SeekableStreamDecoderErrorCallback value)
FLAC__bool | FLAC__seekable_stream_decoder_set_client_data (FLAC__SeekableStreamDecoder *decoder, void *value)
FLAC__bool | FLAC__seekable_stream_decoder_set_metadata_respond (FLAC__SeekableStreamDecoder *decoder, FLAC__MetadataType type)
FLAC__bool | FLAC__seekable_stream_decoder_set_metadata_respond_application (FLAC__SeekableStreamDecoder *decoder, const FLAC__byte id[4])
FLAC__bool | FLAC__seekable_stream_decoder_set_metadata_respond_all (FLAC__SeekableStreamDecoder *decoder)
FLAC__bool | FLAC__seekable_stream_decoder_set_metadata_ignore (FLAC__SeekableStreamDecoder *decoder, FLAC__MetadataType type)
FLAC__bool | FLAC__seekable_stream_decoder_set_metadata_ignore_application (FLAC__SeekableStreamDecoder *decoder, const FLAC__byte id[4])
FLAC__bool | FLAC__seekable_stream_decoder_set_metadata_ignore_all (FLAC__SeekableStreamDecoder *decoder)
FLAC__SeekableStreamDecoderState | FLAC__seekable_stream_decoder_get_state (const FLAC__SeekableStreamDecoder *decoder)
FLAC__StreamDecoderState | FLAC__seekable_stream_decoder_get_stream_decoder_state (const FLAC__SeekableStreamDecoder *decoder)
const char * | FLAC__seekable_stream_decoder_get_resolved_state_string (const FLAC__SeekableStreamDecoder *decoder)
FLAC__bool | FLAC__seekable_stream_decoder_get_md5_checking (const FLAC__SeekableStreamDecoder *decoder)
unsigned | FLAC__seekable_stream_decoder_get_channels (const FLAC__SeekableStreamDecoder *decoder)
FLAC__ChannelAssignment | FLAC__seekable_stream_decoder_get_channel_assignment (const FLAC__SeekableStreamDecoder *decoder)
unsigned | FLAC__seekable_stream_decoder_get_bits_per_sample (const FLAC__SeekableStreamDecoder *decoder)
unsigned | FLAC__seekable_stream_decoder_get_sample_rate (const FLAC__SeekableStreamDecoder *decoder)
unsigned | FLAC__seekable_stream_decoder_get_blocksize (const FLAC__SeekableStreamDecoder *decoder)
FLAC__bool | FLAC__seekable_stream_decoder_get_decode_position (const FLAC__SeekableStreamDecoder *decoder, FLAC__uint64 *position)
FLAC__SeekableStreamDecoderState | FLAC__seekable_stream_decoder_init (FLAC__SeekableStreamDecoder *decoder)
FLAC__bool | FLAC__seekable_stream_decoder_finish (FLAC__SeekableStreamDecoder *decoder)
FLAC__bool | FLAC__seekable_stream_decoder_flush (FLAC__SeekableStreamDecoder *decoder)
FLAC__bool | FLAC__seekable_stream_decoder_reset (FLAC__SeekableStreamDecoder *decoder)
FLAC__bool | FLAC__seekable_stream_decoder_process_single (FLAC__SeekableStreamDecoder *decoder)
FLAC__bool | FLAC__seekable_stream_decoder_process_until_end_of_metadata (FLAC__SeekableStreamDecoder *decoder)
FLAC__bool | FLAC__seekable_stream_decoder_process_until_end_of_stream (FLAC__SeekableStreamDecoder *decoder)
FLAC__bool | FLAC__seekable_stream_decoder_skip_single_frame (FLAC__SeekableStreamDecoder *decoder)
FLAC__bool | FLAC__seekable_stream_decoder_seek_absolute (FLAC__SeekableStreamDecoder *decoder, FLAC__uint64 sample)

## Variables

const char *const | FLAC__SeekableStreamDecoderStateString []
const char *const | FLAC__SeekableStreamDecoderReadStatusString []
const char *const | FLAC__SeekableStreamDecoderSeekStatusString []
const char *const | FLAC__SeekableStreamDecoderTellStatusString []
const char *const | FLAC__SeekableStreamDecoderLengthStatusString []

## Detailed Description

This module contains the functions which implement the seekable stream decoder.

See the detailed documentation in the seekable stream decoder module.