OggFLAC++/encoder.h: encoder classes

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

# OggFLAC++/encoder.h: encoder classes
[OggFLAC C++ API]

This module describes the three encoder layers provided by libOggFLAC++. More...

## Modules

OggFLAC++/encoder.h: stream encoder class
| This class wraps the OggFLAC__StreamEncoder.

OggFLAC++/encoder.h: seekable stream encoder class
| This class wraps the OggFLAC__SeekableStreamEncoder.

OggFLAC++/encoder.h: file encoder class
| This class wraps the OggFLAC__FileEncoder.

## Detailed Description

This module describes the three encoder layers provided by libOggFLAC++.

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

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