FLAC__stream_decoder_get_sample_rate

Function FLAC__stream_decoder_get_sample_rate 

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

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.