[][src]Function flac_sys::FLAC__stream_decoder_get_sample_rate

pub unsafe extern "C" fn FLAC__stream_decoder_get_sample_rate(
    decoder: *const FLAC__StreamDecoder
) -> c_uint

Get the current sample rate in Hz of the stream being decoded. Will only be valid after decoding has started and will contain the value from the most recently decoded frame header.

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