file_encoder.h File Reference

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

# include/OggFLAC/file_encoder.h File Reference

This module contains the functions which implement the file encoder. More...

`#include "export.h"`
`#include "seekable_stream_encoder.h"`

Go to the source code of this file.

## Compounds
struct | OggFLAC__FileEncoder
## Typedefs
typedef void(* | OggFLAC__FileEncoderProgressCallback )(const OggFLAC__FileEncoder *encoder, FLAC__uint64 bytes_written, FLAC__uint64 samples_written, unsigned frames_written, unsigned total_frames_estimate, void *client_data)
## Enumerations
enum | OggFLAC__FileEncoderState { OggFLAC__FILE_ENCODER_OK = 0, OggFLAC__FILE_ENCODER_NO_FILENAME, OggFLAC__FILE_ENCODER_SEEKABLE_STREAM_ENCODER_ERROR, OggFLAC__FILE_ENCODER_FATAL_ERROR_WHILE_WRITING, OggFLAC__FILE_ENCODER_ERROR_OPENING_FILE, OggFLAC__FILE_ENCODER_MEMORY_ALLOCATION_ERROR, OggFLAC__FILE_ENCODER_ALREADY_INITIALIZED, OggFLAC__FILE_ENCODER_UNINITIALIZED }
## Functions
OggFLAC_API OggFLAC__FileEncoder * | OggFLAC__file_encoder_new ()
OggFLAC_API void | OggFLAC__file_encoder_delete (OggFLAC__FileEncoder *encoder)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_set_serial_number (OggFLAC__FileEncoder *encoder, long serial_number)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_set_verify (OggFLAC__FileEncoder *encoder, FLAC__bool value)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_set_streamable_subset (OggFLAC__FileEncoder *encoder, FLAC__bool value)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_set_do_mid_side_stereo (OggFLAC__FileEncoder *encoder, FLAC__bool value)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_set_loose_mid_side_stereo (OggFLAC__FileEncoder *encoder, FLAC__bool value)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_set_channels (OggFLAC__FileEncoder *encoder, unsigned value)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_set_bits_per_sample (OggFLAC__FileEncoder *encoder, unsigned value)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_set_sample_rate (OggFLAC__FileEncoder *encoder, unsigned value)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_set_blocksize (OggFLAC__FileEncoder *encoder, unsigned value)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_set_max_lpc_order (OggFLAC__FileEncoder *encoder, unsigned value)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_set_qlp_coeff_precision (OggFLAC__FileEncoder *encoder, unsigned value)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_set_do_qlp_coeff_prec_search (OggFLAC__FileEncoder *encoder, FLAC__bool value)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_set_do_escape_coding (OggFLAC__FileEncoder *encoder, FLAC__bool value)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_set_do_exhaustive_model_search (OggFLAC__FileEncoder *encoder, FLAC__bool value)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_set_min_residual_partition_order (OggFLAC__FileEncoder *encoder, unsigned value)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_set_max_residual_partition_order (OggFLAC__FileEncoder *encoder, unsigned value)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_set_rice_parameter_search_dist (OggFLAC__FileEncoder *encoder, unsigned value)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_set_total_samples_estimate (OggFLAC__FileEncoder *encoder, FLAC__uint64 value)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_set_metadata (OggFLAC__FileEncoder *encoder, FLAC__StreamMetadata **metadata, unsigned num_blocks)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_set_filename (OggFLAC__FileEncoder *encoder, const char *value)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_set_progress_callback (OggFLAC__FileEncoder *encoder, OggFLAC__FileEncoderProgressCallback value)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_set_client_data (OggFLAC__FileEncoder *encoder, void *value)
OggFLAC_API OggFLAC__FileEncoderState | OggFLAC__file_encoder_get_state (const OggFLAC__FileEncoder *encoder)
OggFLAC_API OggFLAC__SeekableStreamEncoderState | OggFLAC__file_encoder_get_seekable_stream_encoder_state (const OggFLAC__FileEncoder *encoder)
OggFLAC_API FLAC__StreamEncoderState | OggFLAC__file_encoder_get_FLAC_stream_encoder_state (const OggFLAC__FileEncoder *encoder)
OggFLAC_API FLAC__StreamDecoderState | OggFLAC__file_encoder_get_verify_decoder_state (const OggFLAC__FileEncoder *encoder)
OggFLAC_API const char * | OggFLAC__file_encoder_get_resolved_state_string (const OggFLAC__FileEncoder *encoder)
OggFLAC_API void | OggFLAC__file_encoder_get_verify_decoder_error_stats (const OggFLAC__FileEncoder *encoder, FLAC__uint64 *absolute_sample, unsigned *frame_number, unsigned *channel, unsigned *sample, FLAC__int32 *expected, FLAC__int32 *got)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_get_verify (const OggFLAC__FileEncoder *encoder)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_get_streamable_subset (const OggFLAC__FileEncoder *encoder)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_get_do_mid_side_stereo (const OggFLAC__FileEncoder *encoder)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_get_loose_mid_side_stereo (const OggFLAC__FileEncoder *encoder)
OggFLAC_API unsigned | OggFLAC__file_encoder_get_channels (const OggFLAC__FileEncoder *encoder)
OggFLAC_API unsigned | OggFLAC__file_encoder_get_bits_per_sample (const OggFLAC__FileEncoder *encoder)
OggFLAC_API unsigned | OggFLAC__file_encoder_get_sample_rate (const OggFLAC__FileEncoder *encoder)
OggFLAC_API unsigned | OggFLAC__file_encoder_get_blocksize (const OggFLAC__FileEncoder *encoder)
OggFLAC_API unsigned | OggFLAC__file_encoder_get_max_lpc_order (const OggFLAC__FileEncoder *encoder)
OggFLAC_API unsigned | OggFLAC__file_encoder_get_qlp_coeff_precision (const OggFLAC__FileEncoder *encoder)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_get_do_qlp_coeff_prec_search (const OggFLAC__FileEncoder *encoder)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_get_do_escape_coding (const OggFLAC__FileEncoder *encoder)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_get_do_exhaustive_model_search (const OggFLAC__FileEncoder *encoder)
OggFLAC_API unsigned | OggFLAC__file_encoder_get_min_residual_partition_order (const OggFLAC__FileEncoder *encoder)
OggFLAC_API unsigned | OggFLAC__file_encoder_get_max_residual_partition_order (const OggFLAC__FileEncoder *encoder)
OggFLAC_API unsigned | OggFLAC__file_encoder_get_rice_parameter_search_dist (const OggFLAC__FileEncoder *encoder)
OggFLAC_API FLAC__uint64 | OggFLAC__file_encoder_get_total_samples_estimate (const OggFLAC__FileEncoder *encoder)
OggFLAC_API OggFLAC__FileEncoderState | OggFLAC__file_encoder_init (OggFLAC__FileEncoder *encoder)
OggFLAC_API void | OggFLAC__file_encoder_finish (OggFLAC__FileEncoder *encoder)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_process (OggFLAC__FileEncoder *encoder, const FLAC__int32 *const buffer[], unsigned samples)
OggFLAC_API FLAC__bool | OggFLAC__file_encoder_process_interleaved (OggFLAC__FileEncoder *encoder, const FLAC__int32 buffer[], unsigned samples)
## Variables
OggFLAC_API const char *const | OggFLAC__FileEncoderStateString []

## Detailed Description

This module contains the functions which implement the file encoder.

See the detailed documentation in the file encoder module.