opus_multistream_encoder_get_size method
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.
Implementation
int opus_multistream_encoder_get_size(
int streams,
int coupled_streams,
) {
return _opus_multistream_encoder_get_size(streams, coupled_streams);
}