[][src]Function flac_sys::FLAC__stream_decoder_set_ogg_serial_number

pub unsafe extern "C" fn FLAC__stream_decoder_set_ogg_serial_number(
    decoder: *mut FLAC__StreamDecoder,
    serial_number: c_long
) -> FLAC__bool

Set the serial number for the FLAC stream within the Ogg container. The default behavior is to use the serial number of the first Ogg page. Setting a serial number here will explicitly specify which stream is to be decoded.

\note This does not need to be set for native FLAC decoding.

\default \c use serial number of first page \param decoder A decoder instance to set. \param serial_number See above. \assert \code decoder != NULL \endcode \retval FLAC__bool \c false if the decoder is already initialized, else \c true.