Skip to content
Snippets Groups Projects
Commit ea7c9869 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Adds OPUS_{G,S}ET_FORCE_CHANNELS requests to multistream API

parent e9b36c1e
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment