[][src]Function flac_sys::FLAC__metadata_chain_read_ogg

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

Read all metadata from an Ogg FLAC file into the chain.

\note Ogg FLAC metadata data writing is not supported yet and FLAC__metadata_chain_write() will fail.

\param chain A pointer to an existing chain. \param filename The path to the Ogg 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().