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

# FLAC++/decoder.h: decoder classes
[FLAC C++ API]

This module describes the three decoder layers provided by libFLAC++. More...

## Modules
FLAC++/decoder.h: stream decoder class
| This class wraps the FLAC__StreamDecoder.

FLAC++/decoder.h: seekable stream decoder class
| This class wraps the FLAC__SeekableStreamDecoder.

FLAC++/decoder.h: file decoder class
| This class wraps the FLAC__FileDecoder.

## Detailed Description

This module describes the three decoder layers provided by libFLAC++.

The libFLAC++ decoder classes are object wrappers around their counterparts in libFLAC. All three decoding layers available in libFLAC are also provided here. The interface is very similar; make sure to read the libFLAC decoder module.

The only real difference here is that instead of passing in C function pointers for callbacks, you inherit from the decoder class and provide implementations for the callbacks in the derived class; because of this there is no need for a 'client_data' property.