[][src]Function flac_sys::FLAC__stream_encoder_set_channels

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

Set the number of channels to be encoded.

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