[−][src]Function flac_sys::FLAC__stream_decoder_finish
pub unsafe extern "C" fn FLAC__stream_decoder_finish(
decoder: *mut FLAC__StreamDecoder
) -> FLAC__bool
Finish the decoding process. Flushes the decoding buffer, releases resources, resets the decoder settings to their defaults, and returns the decoder state to FLAC__STREAM_DECODER_UNINITIALIZED.
In the event of a prematurely-terminated decode, it is not strictly necessary to call this immediately before FLAC__stream_decoder_delete() but it is good practice to match every FLAC__stream_decoder_init_*() with a FLAC__stream_decoder_finish().
\param decoder An uninitialized decoder instance. \assert \code decoder != NULL \endcode \retval FLAC__bool \c false if MD5 checking is on AND a STREAMINFO block was available AND the MD5 signature in the STREAMINFO block was non-zero AND the signature does not match the one computed by the decoder; else \c true.