[][src]Function flac_sys::FLAC__metadata_chain_read

pub unsafe extern "C" fn FLAC__metadata_chain_read(
    chain: *mut FLAC__Metadata_Chain,
    filename: *const c_char
) -> FLAC__bool

Read all metadata from a FLAC file into the chain.

\param chain A pointer to an existing chain. \param filename The path to the FLAC file to read. \assert \code chain != NULL \endcode \code filename != NULL \endcode \retval FLAC__bool \c true if a valid list of metadata blocks was read from \a filename, else \c false. On failure, check the status with FLAC__metadata_chain_status().