audiopus_sys

Function opus_multistream_decoder_get_size

Source
pub unsafe extern "C" fn opus_multistream_decoder_get_size(
    streams: c_int,
    coupled_streams: c_int,
) -> opus_int32
Expand description

Gets the size of an OpusMSDecoder structure. @param streams int: The total number of streams coded in the input. This must be no more than 255. @param coupled_streams int: Number streams to decode as coupled (2 channel) streams. This must be no larger than the total number of streams. Additionally, The total number of coded channels (streams + coupled_streams) must be no more than 255. @returns The size in bytes on success, or a negative error code (see @ref opus_errorcodes) on error.