opus_multistream_decoder_get_size method

int opus_multistream_decoder_get_size(
  1. int streams,
  2. int coupled_streams
)

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.

Implementation

int opus_multistream_decoder_get_size(
  int streams,
  int coupled_streams,
) {
  return _opus_multistream_decoder_get_size(streams, coupled_streams);
}