Skip to content

Commit 8c12c92

Browse files
author
Daniel Danzberger
committed
Support OPUS_SET_COMPLEXITY() for multistream decoder
OPUS_SET_COMPLEXITY() is already implemented in the decoder for controlling deep PLC since commit 8d43b18 This commit makes it also available for the mulitstream decoder. Signed-off-by: Daniel Danzberger <[email protected]>
1 parent b3ed2bb commit 8c12c92

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/opus_multistream_decoder.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,7 @@ int opus_multistream_decoder_ctl_va_list(OpusMSDecoder *st, int request,
444444
case OPUS_GET_GAIN_REQUEST:
445445
case OPUS_GET_LAST_PACKET_DURATION_REQUEST:
446446
case OPUS_GET_PHASE_INVERSION_DISABLED_REQUEST:
447+
case OPUS_GET_COMPLEXITY_REQUEST:
447448
{
448449
OpusDecoder *dec;
449450
/* For int32* GET params, just query the first stream */
@@ -518,6 +519,7 @@ int opus_multistream_decoder_ctl_va_list(OpusMSDecoder *st, int request,
518519
}
519520
break;
520521
case OPUS_SET_GAIN_REQUEST:
522+
case OPUS_SET_COMPLEXITY_REQUEST:
521523
case OPUS_SET_PHASE_INVERSION_DISABLED_REQUEST:
522524
{
523525
int s;

0 commit comments

Comments
 (0)