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

# include/OggFLAC/stream_encoder.h File Reference

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

`#include "export.h"`
`#include "FLAC/stream_encoder.h"`

Go to the source code of this file.

## Compounds

struct | OggFLAC__StreamEncoder

## Typedefs

typedef FLAC__StreamEncoderWriteStatus(* | OggFLAC__StreamEncoderWriteCallback )(const OggFLAC__StreamEncoder *encoder, const FLAC__byte buffer[], unsigned bytes, unsigned samples, unsigned current_frame, void *client_data)

## Enumerations

enum | OggFLAC__StreamEncoderState { OggFLAC__STREAM_ENCODER_OK = 0, OggFLAC__STREAM_ENCODER_OGG_ERROR, OggFLAC__STREAM_ENCODER_FLAC_STREAM_ENCODER_ERROR, OggFLAC__STREAM_ENCODER_INVALID_CALLBACK, OggFLAC__STREAM_ENCODER_MEMORY_ALLOCATION_ERROR, OggFLAC__STREAM_ENCODER_ALREADY_INITIALIZED, OggFLAC__STREAM_ENCODER_UNINITIALIZED }

## Functions

OggFLAC_API OggFLAC__StreamEncoder * | OggFLAC__stream_encoder_new ()
OggFLAC_API void | OggFLAC__stream_encoder_delete (OggFLAC__StreamEncoder *encoder)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_set_serial_number (OggFLAC__StreamEncoder *encoder, long serial_number)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_set_verify (OggFLAC__StreamEncoder *encoder, FLAC__bool value)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_set_streamable_subset (OggFLAC__StreamEncoder *encoder, FLAC__bool value)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_set_do_mid_side_stereo (OggFLAC__StreamEncoder *encoder, FLAC__bool value)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_set_loose_mid_side_stereo (OggFLAC__StreamEncoder *encoder, FLAC__bool value)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_set_channels (OggFLAC__StreamEncoder *encoder, unsigned value)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_set_bits_per_sample (OggFLAC__StreamEncoder *encoder, unsigned value)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_set_sample_rate (OggFLAC__StreamEncoder *encoder, unsigned value)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_set_blocksize (OggFLAC__StreamEncoder *encoder, unsigned value)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_set_max_lpc_order (OggFLAC__StreamEncoder *encoder, unsigned value)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_set_qlp_coeff_precision (OggFLAC__StreamEncoder *encoder, unsigned value)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_set_do_qlp_coeff_prec_search (OggFLAC__StreamEncoder *encoder, FLAC__bool value)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_set_do_escape_coding (OggFLAC__StreamEncoder *encoder, FLAC__bool value)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_set_do_exhaustive_model_search (OggFLAC__StreamEncoder *encoder, FLAC__bool value)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_set_min_residual_partition_order (OggFLAC__StreamEncoder *encoder, unsigned value)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_set_max_residual_partition_order (OggFLAC__StreamEncoder *encoder, unsigned value)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_set_rice_parameter_search_dist (OggFLAC__StreamEncoder *encoder, unsigned value)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_set_total_samples_estimate (OggFLAC__StreamEncoder *encoder, FLAC__uint64 value)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_set_metadata (OggFLAC__StreamEncoder *encoder, FLAC__StreamMetadata **metadata, unsigned num_blocks)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_set_write_callback (OggFLAC__StreamEncoder *encoder, OggFLAC__StreamEncoderWriteCallback value)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_set_client_data (OggFLAC__StreamEncoder *encoder, void *value)
OggFLAC_API OggFLAC__StreamEncoderState | OggFLAC__stream_encoder_get_state (const OggFLAC__StreamEncoder *encoder)
OggFLAC_API FLAC__StreamEncoderState | OggFLAC__stream_encoder_get_FLAC_stream_encoder_state (const OggFLAC__StreamEncoder *encoder)
OggFLAC_API FLAC__StreamDecoderState | OggFLAC__stream_encoder_get_verify_decoder_state (const OggFLAC__StreamEncoder *encoder)
OggFLAC_API void | OggFLAC__stream_encoder_get_verify_decoder_error_stats (const OggFLAC__StreamEncoder *encoder, FLAC__uint64 *absolute_sample, unsigned *frame_number, unsigned *channel, unsigned *sample, FLAC__int32 *expected, FLAC__int32 *got)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_get_verify (const OggFLAC__StreamEncoder *encoder)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_get_streamable_subset (const OggFLAC__StreamEncoder *encoder)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_get_do_mid_side_stereo (const OggFLAC__StreamEncoder *encoder)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_get_loose_mid_side_stereo (const OggFLAC__StreamEncoder *encoder)
OggFLAC_API unsigned | OggFLAC__stream_encoder_get_channels (const OggFLAC__StreamEncoder *encoder)
OggFLAC_API unsigned | OggFLAC__stream_encoder_get_bits_per_sample (const OggFLAC__StreamEncoder *encoder)
OggFLAC_API unsigned | OggFLAC__stream_encoder_get_sample_rate (const OggFLAC__StreamEncoder *encoder)
OggFLAC_API unsigned | OggFLAC__stream_encoder_get_blocksize (const OggFLAC__StreamEncoder *encoder)
OggFLAC_API unsigned | OggFLAC__stream_encoder_get_max_lpc_order (const OggFLAC__StreamEncoder *encoder)
OggFLAC_API unsigned | OggFLAC__stream_encoder_get_qlp_coeff_precision (const OggFLAC__StreamEncoder *encoder)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_get_do_qlp_coeff_prec_search (const OggFLAC__StreamEncoder *encoder)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_get_do_escape_coding (const OggFLAC__StreamEncoder *encoder)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_get_do_exhaustive_model_search (const OggFLAC__StreamEncoder *encoder)
OggFLAC_API unsigned | OggFLAC__stream_encoder_get_min_residual_partition_order (const OggFLAC__StreamEncoder *encoder)
OggFLAC_API unsigned | OggFLAC__stream_encoder_get_max_residual_partition_order (const OggFLAC__StreamEncoder *encoder)
OggFLAC_API unsigned | OggFLAC__stream_encoder_get_rice_parameter_search_dist (const OggFLAC__StreamEncoder *encoder)
OggFLAC_API FLAC__uint64 | OggFLAC__stream_encoder_get_total_samples_estimate (const OggFLAC__StreamEncoder *encoder)
OggFLAC_API OggFLAC__StreamEncoderState | OggFLAC__stream_encoder_init (OggFLAC__StreamEncoder *encoder)
OggFLAC_API void | OggFLAC__stream_encoder_finish (OggFLAC__StreamEncoder *encoder)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_process (OggFLAC__StreamEncoder *encoder, const FLAC__int32 *const buffer[], unsigned samples)
OggFLAC_API FLAC__bool | OggFLAC__stream_encoder_process_interleaved (OggFLAC__StreamEncoder *encoder, const FLAC__int32 buffer[], unsigned samples)

## Variables

OggFLAC_API const char *const | OggFLAC__StreamEncoderStateString []

## Detailed Description

This module contains the functions which implement the stream encoder.

See the detailed documentation in the stream encoder module.