[−][src]Function flac_sys::FLAC__stream_decoder_flush
pub unsafe extern "C" fn FLAC__stream_decoder_flush(
decoder: *mut FLAC__StreamDecoder
) -> FLAC__bool
Flush the stream input. The decoder's input buffer will be cleared and the state set to \c FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC. This will also turn off MD5 checking.
\param decoder A decoder instance. \assert \code decoder != NULL \endcode \retval FLAC__bool \c true if successful, else \c false if a memory allocation error occurs (in which case the state will be set to \c FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR).