shithub: libopusenc

Download patch

ref: b84512ec76f92590264ae39b11d9369b297a4261
parent: 885674ea00aa46881ca95659d9779dc4ef2b8bb7
author: Jean-Marc Valin <jmvalin@jmvalin.ca>
date: Wed May 3 21:41:56 EDT 2017

Add support for OPUS_MULTISTREAM_GET_ENCODER_STATE

--- a/src/opusenc.c
+++ b/src/opusenc.c
@@ -650,6 +650,15 @@
       }
     }
     break;
+    case OPUS_MULTISTREAM_GET_ENCODER_STATE_REQUEST:
+    {
+      opus_int32 stream_id;
+      OpusEncoder **value;
+      stream_id = va_arg(ap, opus_int32);
+      value = va_arg(ap, OpusEncoder**);
+      ret = opus_multistream_encoder_ctl(enc->st, request, stream_id, value);
+    }
+    break;
 
     /* ****************** libopusenc-specific requests. ********************** */
     case OPE_SET_DECISION_DELAY_REQUEST: