opus_packet_get_nb_channels method
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
Implementation
int opus_packet_get_nb_channels(
ffi.Pointer<ffi.Uint8> data,
) {
return _opus_packet_get_nb_channels(data);
}