[][src]Function flac_sys::FLAC__metadata_iterator_delete_block

pub unsafe extern "C" fn FLAC__metadata_iterator_delete_block(
    iterator: *mut FLAC__Metadata_Iterator,
    replace_with_padding: FLAC__bool
) -> FLAC__bool

Removes the current block from the chain. If \a replace_with_padding is \c true, the block will instead be replaced with a padding block of equal size. You can not delete the STREAMINFO block. The iterator will be left pointing to the block before the one just "deleted", even if \a replace_with_padding is \c true.

\param iterator A pointer to an existing initialized iterator. \param replace_with_padding See above. \assert \code iterator != NULL \endcode \a iterator has been successfully initialized with FLAC__metadata_iterator_init() \retval FLAC__bool \c false if the conditions in the above description are not met, otherwise \c true.