[][src]Function flac_sys::FLAC__stream_encoder_set_bits_per_sample

pub unsafe extern "C" fn FLAC__stream_encoder_set_bits_per_sample(
    encoder: *mut FLAC__StreamEncoder,
    value: c_uint
) -> FLAC__bool

Set the sample resolution of the input to be encoded.

\warning Do not feed the encoder data that is wider than the value you set here or you will generate an invalid stream.

\default \c 16 \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.