diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2012-10-11 00:03:36 +0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2012-10-11 00:03:36 +0400 |
commit | ea7c9869cd2ce21b441b9c3efa02658558b323d7 (patch) | |
tree | 07909e6c42d4ecd0bfbee3e9f43cf9d96269fc4e /src/opus_multistream.c | |
parent | e9b36c1e38691531063f215e820d24557e7f0923 (diff) |
Adds OPUS_{G,S}ET_FORCE_CHANNELS requests to multistream API
Diffstat (limited to 'src/opus_multistream.c')
-rw-r--r-- | src/opus_multistream.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opus_multistream.c b/src/opus_multistream.c index 955dc818..646e9b64 100644 --- a/src/opus_multistream.c +++ b/src/opus_multistream.c @@ -483,6 +483,7 @@ int opus_multistream_encoder_ctl(OpusMSEncoder *st, int request, ...) case OPUS_GET_LOOKAHEAD_REQUEST: case OPUS_GET_SAMPLE_RATE_REQUEST: case OPUS_GET_INBAND_FEC_REQUEST: + case OPUS_GET_FORCE_CHANNELS_REQUEST: { OpusEncoder *enc; /* For int32* GET params, just query the first stream */ @@ -522,6 +523,7 @@ int opus_multistream_encoder_ctl(OpusMSEncoder *st, int request, ...) case OPUS_SET_PACKET_LOSS_PERC_REQUEST: case OPUS_SET_DTX_REQUEST: case OPUS_SET_FORCE_MODE_REQUEST: + case OPUS_SET_FORCE_CHANNELS_REQUEST: { int s; /* This works for int32 params */ |