[][src]Function flac_sys::FLAC__stream_decoder_get_total_samples

pub unsafe extern "C" fn FLAC__stream_decoder_get_total_samples(
    decoder: *const FLAC__StreamDecoder
) -> FLAC__uint64

Get the total number of samples in the stream being decoded. Will only be valid after decoding has started and will contain the value from the \c STREAMINFO block. A value of \c 0 means "unknown".

\param decoder A decoder instance to query. \assert \code decoder != NULL \endcode \retval unsigned See above.