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

# FLAC/_encoder.h: encoder interfaces
[FLAC C API]

This module describes the two encoder layers provided by libFLAC. More...

## Modules

FLAC/file_encoder.h: file encoder interface
| This module contains the functions which implement the file encoder.

FLAC/seekable_stream_encoder.h: seekable stream encoder interface
| This module contains the functions which implement the seekable stream encoder.

FLAC/stream_encoder.h: stream encoder interface
| This module contains the functions which implement the stream encoder.

## Detailed Description

This module describes the two encoder layers provided by libFLAC.

For encoding FLAC streams, libFLAC provides two layers of access. The lowest layer is stream-level encoding, and the highest is file-level encoding. The interfaces are described in the stream encoder and file encoder modules respectively. Typically you will choose the highest layer that your output source will support.

The stream encoder relies on callbacks for writing the data and metadata. The file encoder provides these callbacks internally and you need only supply the filename.