FLAC/ *_decoder.h: decoder interfaces
FLAC C API

## Modules

| FLAC/stream_decoder.h: stream decoder interface

## Detailed Description

This module describes the decoder layers provided by libFLAC.

The stream decoder can be used to decode complete streams either from the client via callbacks, or directly from a file, depending on how it is initialized. When decoding via callbacks, the client provides callbacks for reading FLAC data and writing decoded samples, and handling metadata and errors. If the client also supplies seek-related callback, the decoder function for sample-accurate seeking within the FLAC input is also available. When decoding from a file, the client needs only supply a filename or open `FILE*` and write/metadata/error callbacks; the rest of the callbacks are supplied internally. For more info see the stream decoder module.

Copyright (c) 2000-2009 Josh Coalson Copyright (c) 2011-2025 Xiph.Org Foundation