[][src]Function flac_sys::FLAC__format_sample_rate_is_subset

pub unsafe extern "C" fn FLAC__format_sample_rate_is_subset(
    sample_rate: c_uint
) -> FLAC__bool

Tests that a sample rate is valid for the FLAC subset. The subset rules for valid sample rates are slightly more complex since the rate has to be expressible completely in the frame header.

\param sample_rate The sample rate to test for compliance. \retval FLAC__bool \c true if the given sample rate conforms to the specification for the subset, else \c false.