1.3.4.1.3 FLAC_RegisterDecoderEventHandlerCallback Function
C
void FLAC_RegisterDecoderEventHandlerCallback(FLAC_DEC_APPLICATIONCB_SET *flac_decoder_appCB_set, void *ctxt);
Summary
Registers the set of application defined decoder event handler functions to FLAC decoder Library.
Description
This function registers a set of event handler functions for propagating FLAC decoding information to the application.
Precondition
None
Parameters
flac_decoder_appCB_set - pointer to a struct that contains various application defined callbacks
ctxt - The context that will be invoked upon callback invocation
Returns
None
Example
FLAC_DEC_APPLICATIONCB_SET flac_dec_appCB_set = {NULL, NULL, NULL, NULL, NULL, FLAC_DecoderWriteEventHandler, NULL, NULL }; FLAC_RegisterDecoderEventHandlerCallback(&flac_dec_appCB_set, ctxt);
Remarks
None