[opus] Error running opus encoder/decoder under PIC32
jmvalin at jmvalin.ca
Thu Dec 15 19:09:31 UTC 2016
On 10/11/16 04:50 AM, Manuel Heras wrote:
> I’m new using OPUS and I’ve implemented the OPUS lib under PIC32MZ,
> using the MIPS configuration. It compiles correctly and it seems that
> all the procedures invoked returns no error. However, when I excite the
> encoder with a pure 1 kHz tone, the encoding/decoding procedure returns
> al the samples to silence (the buffer is filled with 0x8001 or 0x7fff).
0x8001 and 0x7fff aren't silence. They're the largest signal
representable. Did you use the float API with very large values (should
be +/-1) by any chance?
> The configuration is 48000 sps, 64kHz bandwidth, two channels,
> OPUS_APPLICATION_AUDIO application. The lib version is 1.1.3. The
> initialization procedure is as follows:
See if you can reproduce the problem with opus_demo.
More information about the opus