[][src]Function flac_sys::FLAC__stream_encoder_set_verify

pub unsafe extern "C" fn FLAC__stream_encoder_set_verify(
    encoder: *mut FLAC__StreamEncoder,
    value: FLAC__bool
) -> FLAC__bool

Set the "verify" flag. If \c true, the encoder will verify it's own encoded output by feeding it through an internal decoder and comparing the original signal against the decoded signal. If a mismatch occurs, the process call will return \c false. Note that this will slow the encoding process by the extra time required for decoding and comparison.

\default \c false \param encoder An encoder instance to set. \param value Flag value (see above). \assert \code encoder != NULL \endcode \retval FLAC__bool \c false if the encoder is already initialized, else \c true.