[−][src]Function opus_sys2::opus_packet_get_nb_channels
pub unsafe extern "C" fn opus_packet_get_nb_channels(
data: *const c_uchar
) -> c_int
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