Skip to content

Commit 26637dd

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.
1 parent ff6dea5 commit 26637dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/opus_multistream_decoder.c

+2
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,7 @@ int opus_multistream_decoder_ctl_va_list(OpusMSDecoder *st, int request,
433433
case OPUS_GET_GAIN_REQUEST:
434434
case OPUS_GET_LAST_PACKET_DURATION_REQUEST:
435435
case OPUS_GET_PHASE_INVERSION_DISABLED_REQUEST:
436+
case OPUS_GET_COMPLEXITY_REQUEST:
436437
{
437438
OpusDecoder *dec;
438439
/* For int32* GET params, just query the first stream */
@@ -507,6 +508,7 @@ int opus_multistream_decoder_ctl_va_list(OpusMSDecoder *st, int request,
507508
}
508509
break;
509510
case OPUS_SET_GAIN_REQUEST:
511+
case OPUS_SET_COMPLEXITY_REQUEST:
510512
case OPUS_SET_PHASE_INVERSION_DISABLED_REQUEST:
511513
{
512514
int s;

0 commit comments

Comments
 (0)