33 #ifndef FLAC__STREAM_DECODER_H
34 #define FLAC__STREAM_DECODER_H
464 struct FLAC__StreamDecoderProtected;
465 struct FLAC__StreamDecoderPrivate;
471 struct FLAC__StreamDecoderProtected *protected_;
472 struct FLAC__StreamDecoderPrivate *private_;
1319 const char *filename,
1369 const char *filename,
This module contains #defines and symbols for exporting function calls, and providing version informa...
#define FLAC_API
Definition: export.h:91
FLAC__bool FLAC__stream_decoder_process_until_end_of_metadata(FLAC__StreamDecoder *decoder)
const char *const FLAC__StreamDecoderInitStatusString[]
FLAC__StreamDecoderErrorStatus
Definition: stream_decoder.h:431
FLAC__StreamDecoderInitStatus FLAC__stream_decoder_init_stream(FLAC__StreamDecoder *decoder, FLAC__StreamDecoderReadCallback read_callback, FLAC__StreamDecoderSeekCallback seek_callback, FLAC__StreamDecoderTellCallback tell_callback, FLAC__StreamDecoderLengthCallback length_callback, FLAC__StreamDecoderEofCallback eof_callback, FLAC__StreamDecoderWriteCallback write_callback, FLAC__StreamDecoderMetadataCallback metadata_callback, FLAC__StreamDecoderErrorCallback error_callback, void *client_data)
FLAC__StreamDecoderInitStatus FLAC__stream_decoder_init_ogg_stream(FLAC__StreamDecoder *decoder, FLAC__StreamDecoderReadCallback read_callback, FLAC__StreamDecoderSeekCallback seek_callback, FLAC__StreamDecoderTellCallback tell_callback, FLAC__StreamDecoderLengthCallback length_callback, FLAC__StreamDecoderEofCallback eof_callback, FLAC__StreamDecoderWriteCallback write_callback, FLAC__StreamDecoderMetadataCallback metadata_callback, FLAC__StreamDecoderErrorCallback error_callback, void *client_data)
FLAC__bool FLAC__stream_decoder_set_metadata_respond_all(FLAC__StreamDecoder *decoder)
FLAC__StreamDecoderReadStatus(* FLAC__StreamDecoderReadCallback)(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes, void *client_data)
Definition: stream_decoder.h:524
FLAC__StreamDecoderState
Definition: stream_decoder.h:202
const char *const FLAC__StreamDecoderTellStatusString[]
FLAC__StreamDecoderInitStatus FLAC__stream_decoder_init_file(FLAC__StreamDecoder *decoder, const char *filename, FLAC__StreamDecoderWriteCallback write_callback, FLAC__StreamDecoderMetadataCallback metadata_callback, FLAC__StreamDecoderErrorCallback error_callback, void *client_data)
FLAC__StreamDecoderSeekStatus(* FLAC__StreamDecoderSeekCallback)(const FLAC__StreamDecoder *decoder, FLAC__uint64 absolute_byte_offset, void *client_data)
Definition: stream_decoder.h:559
FLAC__StreamDecoderInitStatus FLAC__stream_decoder_init_ogg_FILE(FLAC__StreamDecoder *decoder, FILE *file, FLAC__StreamDecoderWriteCallback write_callback, FLAC__StreamDecoderMetadataCallback metadata_callback, FLAC__StreamDecoderErrorCallback error_callback, void *client_data)
FLAC__bool(* FLAC__StreamDecoderEofCallback)(const FLAC__StreamDecoder *decoder, void *client_data)
Definition: stream_decoder.h:662
FLAC__StreamDecoder * FLAC__stream_decoder_new(void)
FLAC__StreamDecoderLengthStatus(* FLAC__StreamDecoderLengthCallback)(const FLAC__StreamDecoder *decoder, FLAC__uint64 *stream_length, void *client_data)
Definition: stream_decoder.h:635
FLAC__StreamDecoderInitStatus FLAC__stream_decoder_init_ogg_file(FLAC__StreamDecoder *decoder, const char *filename, FLAC__StreamDecoderWriteCallback write_callback, FLAC__StreamDecoderMetadataCallback metadata_callback, FLAC__StreamDecoderErrorCallback error_callback, void *client_data)
FLAC__StreamDecoderWriteStatus(* FLAC__StreamDecoderWriteCallback)(const FLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 *const buffer[], void *client_data)
Definition: stream_decoder.h:690
uint32_t FLAC__stream_decoder_get_bits_per_sample(const FLAC__StreamDecoder *decoder)
FLAC__bool FLAC__stream_decoder_seek_absolute(FLAC__StreamDecoder *decoder, FLAC__uint64 sample)
void(* FLAC__StreamDecoderMetadataCallback)(const FLAC__StreamDecoder *decoder, const FLAC__StreamMetadata *metadata, void *client_data)
Definition: stream_decoder.h:717
FLAC__StreamDecoderWriteStatus
Definition: stream_decoder.h:394
const char *const FLAC__StreamDecoderLengthStatusString[]
FLAC__bool FLAC__stream_decoder_set_ogg_serial_number(FLAC__StreamDecoder *decoder, long serial_number)
uint32_t FLAC__stream_decoder_get_channels(const FLAC__StreamDecoder *decoder)
FLAC__StreamDecoderInitStatus FLAC__stream_decoder_init_FILE(FLAC__StreamDecoder *decoder, FILE *file, FLAC__StreamDecoderWriteCallback write_callback, FLAC__StreamDecoderMetadataCallback metadata_callback, FLAC__StreamDecoderErrorCallback error_callback, void *client_data)
FLAC__StreamDecoderTellStatus
Definition: stream_decoder.h:348
FLAC__bool FLAC__stream_decoder_skip_single_frame(FLAC__StreamDecoder *decoder)
FLAC__bool FLAC__stream_decoder_process_until_end_of_stream(FLAC__StreamDecoder *decoder)
FLAC__bool FLAC__stream_decoder_set_md5_checking(FLAC__StreamDecoder *decoder, FLAC__bool value)
FLAC__uint64 FLAC__stream_decoder_get_total_samples(const FLAC__StreamDecoder *decoder)
FLAC__bool FLAC__stream_decoder_flush(FLAC__StreamDecoder *decoder)
uint32_t FLAC__stream_decoder_get_sample_rate(const FLAC__StreamDecoder *decoder)
FLAC__bool FLAC__stream_decoder_finish(FLAC__StreamDecoder *decoder)
FLAC__bool FLAC__stream_decoder_process_single(FLAC__StreamDecoder *decoder)
const char *const FLAC__StreamDecoderWriteStatusString[]
FLAC__bool FLAC__stream_decoder_set_metadata_ignore_all(FLAC__StreamDecoder *decoder)
FLAC__bool FLAC__stream_decoder_reset(FLAC__StreamDecoder *decoder)
FLAC__bool FLAC__stream_decoder_set_metadata_ignore_application(FLAC__StreamDecoder *decoder, const FLAC__byte id[4])
FLAC__StreamDecoderInitStatus
Definition: stream_decoder.h:256
const void * FLAC__stream_decoder_get_client_data(FLAC__StreamDecoder *decoder)
const char *const FLAC__StreamDecoderReadStatusString[]
const char *const FLAC__StreamDecoderStateString[]
const char *const FLAC__StreamDecoderErrorStatusString[]
const char *const FLAC__StreamDecoderSeekStatusString[]
void(* FLAC__StreamDecoderErrorCallback)(const FLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorStatus status, void *client_data)
Definition: stream_decoder.h:734
FLAC__StreamDecoderSeekStatus
Definition: stream_decoder.h:325
const char * FLAC__stream_decoder_get_resolved_state_string(const FLAC__StreamDecoder *decoder)
FLAC__bool FLAC__stream_decoder_set_metadata_respond(FLAC__StreamDecoder *decoder, FLAC__MetadataType type)
FLAC__StreamDecoderLengthStatus
Definition: stream_decoder.h:371
FLAC__bool FLAC__stream_decoder_set_metadata_ignore(FLAC__StreamDecoder *decoder, FLAC__MetadataType type)
FLAC__StreamDecoderReadStatus
Definition: stream_decoder.h:294
void FLAC__stream_decoder_delete(FLAC__StreamDecoder *decoder)
FLAC__bool FLAC__stream_decoder_get_md5_checking(const FLAC__StreamDecoder *decoder)
FLAC__ChannelAssignment FLAC__stream_decoder_get_channel_assignment(const FLAC__StreamDecoder *decoder)
FLAC__bool FLAC__stream_decoder_set_metadata_respond_application(FLAC__StreamDecoder *decoder, const FLAC__byte id[4])
FLAC__StreamDecoderState FLAC__stream_decoder_get_state(const FLAC__StreamDecoder *decoder)
FLAC__StreamDecoderTellStatus(* FLAC__StreamDecoderTellCallback)(const FLAC__StreamDecoder *decoder, FLAC__uint64 *absolute_byte_offset, void *client_data)
Definition: stream_decoder.h:597
uint32_t FLAC__stream_decoder_get_blocksize(const FLAC__StreamDecoder *decoder)
FLAC__bool FLAC__stream_decoder_get_decode_position(const FLAC__StreamDecoder *decoder, FLAC__uint64 *position)
@ FLAC__STREAM_DECODER_ERROR_STATUS_FRAME_CRC_MISMATCH
Definition: stream_decoder.h:439
@ FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC
Definition: stream_decoder.h:433
@ FLAC__STREAM_DECODER_ERROR_STATUS_BAD_METADATA
Definition: stream_decoder.h:445
@ FLAC__STREAM_DECODER_ERROR_STATUS_UNPARSEABLE_STREAM
Definition: stream_decoder.h:442
@ FLAC__STREAM_DECODER_ERROR_STATUS_BAD_HEADER
Definition: stream_decoder.h:436
@ FLAC__STREAM_DECODER_READ_FRAME
Definition: stream_decoder.h:215
@ FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR
Definition: stream_decoder.h:233
@ FLAC__STREAM_DECODER_END_OF_STREAM
Definition: stream_decoder.h:218
@ FLAC__STREAM_DECODER_OGG_ERROR
Definition: stream_decoder.h:221
@ FLAC__STREAM_DECODER_READ_METADATA
Definition: stream_decoder.h:207
@ FLAC__STREAM_DECODER_UNINITIALIZED
Definition: stream_decoder.h:238
@ FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC
Definition: stream_decoder.h:210
@ FLAC__STREAM_DECODER_SEARCH_FOR_METADATA
Definition: stream_decoder.h:204
@ FLAC__STREAM_DECODER_ABORTED
Definition: stream_decoder.h:230
@ FLAC__STREAM_DECODER_SEEK_ERROR
Definition: stream_decoder.h:224
@ FLAC__STREAM_DECODER_WRITE_STATUS_ABORT
Definition: stream_decoder.h:399
@ FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE
Definition: stream_decoder.h:396
@ FLAC__STREAM_DECODER_TELL_STATUS_OK
Definition: stream_decoder.h:350
@ FLAC__STREAM_DECODER_TELL_STATUS_ERROR
Definition: stream_decoder.h:353
@ FLAC__STREAM_DECODER_TELL_STATUS_UNSUPPORTED
Definition: stream_decoder.h:356
@ FLAC__STREAM_DECODER_INIT_STATUS_MEMORY_ALLOCATION_ERROR
Definition: stream_decoder.h:269
@ FLAC__STREAM_DECODER_INIT_STATUS_INVALID_CALLBACKS
Definition: stream_decoder.h:266
@ FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FILE
Definition: stream_decoder.h:272
@ FLAC__STREAM_DECODER_INIT_STATUS_UNSUPPORTED_CONTAINER
Definition: stream_decoder.h:261
@ FLAC__STREAM_DECODER_INIT_STATUS_ALREADY_INITIALIZED
Definition: stream_decoder.h:276
@ FLAC__STREAM_DECODER_INIT_STATUS_OK
Definition: stream_decoder.h:258
@ FLAC__STREAM_DECODER_SEEK_STATUS_UNSUPPORTED
Definition: stream_decoder.h:333
@ FLAC__STREAM_DECODER_SEEK_STATUS_ERROR
Definition: stream_decoder.h:330
@ FLAC__STREAM_DECODER_SEEK_STATUS_OK
Definition: stream_decoder.h:327
@ FLAC__STREAM_DECODER_LENGTH_STATUS_ERROR
Definition: stream_decoder.h:376
@ FLAC__STREAM_DECODER_LENGTH_STATUS_UNSUPPORTED
Definition: stream_decoder.h:379
@ FLAC__STREAM_DECODER_LENGTH_STATUS_OK
Definition: stream_decoder.h:373
@ FLAC__STREAM_DECODER_READ_STATUS_END_OF_STREAM
Definition: stream_decoder.h:299
@ FLAC__STREAM_DECODER_READ_STATUS_ABORT
Definition: stream_decoder.h:310
@ FLAC__STREAM_DECODER_READ_STATUS_CONTINUE
Definition: stream_decoder.h:296
Definition: stream_decoder.h:470