audiopus_sys

Function opus_multistream_encoder_get_size

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

Gets the size of an OpusMSEncoder structure. @param streams int: The total number of streams to encode from the input. This must be no more than 255. @param coupled_streams int: Number of coupled (2 channel) streams to encode. This must be no larger than the total number of streams. Additionally, The total number of encoded 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.