audiopus_sys

Function opus_packet_get_nb_channels

Source
pub unsafe extern "C" fn opus_packet_get_nb_channels(
    data: *const c_uchar,
) -> c_int
Expand description

Gets the number of channels from an Opus packet. @param [in] data char*: Opus packet @returns Number of channels @retval OPUS_INVALID_PACKET The compressed data passed is corrupted or of an unsupported type