Some initial work on stereo support (not complete)

This commit is contained in:
Jean-Marc Valin 2011-01-31 11:34:57 -05:00
parent eb1476c791
commit 3ce277ca1f
4 changed files with 8 additions and 8 deletions

View file

@ -42,7 +42,7 @@
#include "SKP_Silk_SDK_API.h"
OpusDecoder *opus_decoder_create(int Fs)
OpusDecoder *opus_decoder_create(int Fs, int channels)
{
char *raw_state;
int ret, silkDecSizeBytes, celtDecSizeBytes;
@ -68,7 +68,7 @@ OpusDecoder *opus_decoder_create(int Fs)
}
/* Initialize CELT decoder */
st->celt_dec = celt_decoder_init(st->celt_dec, 48000, 1, NULL);
st->celt_dec = celt_decoder_init(st->celt_dec, 48000, channels, NULL);
return st;