shithub: libopusenc

Download patch

ref: 5f0cfe9679c3dc104603d4ce24d99576d7db38a8
parent: 150387346b6503725de51f835fb137746fdc1430
author: Jean-Marc Valin <[email protected]>
date: Mon May 1 14:13:30 EDT 2017

More pass-through ctl() requests

--- a/src/opusenc.c
+++ b/src/opusenc.c
@@ -478,12 +478,21 @@
   va_list ap;
   va_start(ap, request);
   switch (request) {
+    case OPUS_SET_APPLICATION_REQUEST:
     case OPUS_SET_BITRATE_REQUEST:
+    case OPUS_SET_MAX_BANDWIDTH_REQUEST:
     case OPUS_SET_VBR_REQUEST:
-    case OPUS_SET_VBR_CONSTRAINT_REQUEST:
+    case OPUS_SET_BANDWIDTH_REQUEST:
     case OPUS_SET_COMPLEXITY_REQUEST:
+    case OPUS_SET_INBAND_FEC_REQUEST:
     case OPUS_SET_PACKET_LOSS_PERC_REQUEST:
+    case OPUS_SET_DTX_REQUEST:
+    case OPUS_SET_VBR_CONSTRAINT_REQUEST:
+    case OPUS_SET_FORCE_CHANNELS_REQUEST:
+    case OPUS_SET_SIGNAL_REQUEST:
     case OPUS_SET_LSB_DEPTH_REQUEST:
+    case OPUS_SET_PREDICTION_DISABLED_REQUEST:
+    case OPUS_SET_PHASE_INVERSION_DISABLED_REQUEST:
     {
       opus_int32 value = va_arg(ap, opus_int32);
       ret = opus_multistream_encoder_ctl(enc->st, request, value);