opus_projection_decoder_get_size method
Gets the size of an OpusProjectionDecoder
structure.
@param channels int: The total number of output channels.
This must be no more than 255.
@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_projection_decoder_get_size(
int channels,
int streams,
int coupled_streams,
) {
return _opus_projection_decoder_get_size(
channels, streams, coupled_streams);
}