[−][src]Function flac_sys::FLAC__stream_encoder_set_sample_rate
pub unsafe extern "C" fn FLAC__stream_encoder_set_sample_rate(
encoder: *mut FLAC__StreamEncoder,
value: c_uint
) -> FLAC__bool
Set the sample rate (in Hz) of the input to be encoded.
\default \c 44100 \param encoder An encoder instance to set. \param value See above. \assert \code encoder != NULL \endcode \retval FLAC__bool \c false if the encoder is already initialized, else \c true.