Displaying 1 result from an estimated 1 matches for "decoderbuff".
Did you mean:
decode_buf
2016 Nov 10
1
Error running opus encoder/decoder under PIC32
...The variable error is always set to OPUS_OK.
The encoding and decoding procedure is as follows:
bytesEncoded = opus_encode(_encoder, _encoderBuffer,
_frameSize, codedBuffer, sizeof(codedBuffer));
sampsDecoded = opus_decode(_decoder, codedBuffer,
bytesEncoded, decoderBuffer, _frameSize, false);
In this case, _frameSize is 960 (20 ms), bytesEncoded returns 0xa1 and
sampsDecoded returns 960; codedBuffer is large enough to store the encoding
data.
Everything seems to be correct, but the result is not. I've also tried with
other configurations and the result...