Modules | |
OggFLAC++/decoder.h: stream decoder class | |
This class wraps the OggFLAC__StreamDecoder. | |
OggFLAC++/decoder.h: seekable stream decoder class | |
This class wraps the OggFLAC__SeekableStreamDecoder. | |
OggFLAC++/decoder.h: file decoder class | |
This class wraps the OggFLAC__FileDecoder. |
The libOggFLAC++ decoder classes are object wrappers around their counterparts in libOggFLAC. All three decoding layers available in libOggFLAC are also provided here. The interface is very similar; make sure to read the libOggFLAC 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.