shithub: opus

Download patch

ref: 8a21386d83562d0242b4a92ac353fbb02502c07e
parent: d4e9340591f7be57fd0fdcda7a12fc7a7ca66e66
author: Jean-Marc Valin <[email protected]>
date: Fri Aug 26 21:32:53 EDT 2011

more multistream ctl()s

--- a/src/opus_multistream.c
+++ b/src/opus_multistream.c
@@ -377,10 +377,12 @@
    case OPUS_GET_DTX_REQUEST:
    case OPUS_GET_VOICE_RATIO_REQUEST:
    case OPUS_GET_VBR_CONSTRAINT_REQUEST:
+   case OPUS_GET_SIGNAL_REQUEST:
+   case OPUS_GET_LOOKAHEAD_REQUEST:
    {
       int s;
       /* This works for int32* params */
-      opus_uint32 value = va_arg(ap, opus_uint32);
+      opus_uint32 *value = va_arg(ap, opus_uint32*);
       for (s=0;s<st->layout.nb_streams;s++)
       {
          OpusEncoder *enc;