Created test_opus_custom script which does a more heavy evaluation of the various use cases of OpusCustom, testing:
- Mixed float/fixed use cases
- Mixed Opus/OpusCustom use cases
- Wide mixture of run-time configurables
- RMS difference (if RESYNTH) is defined
Signed-off-by: Jean-Marc Valin <jeanmarcv@google.com>
Add unit tests for opus_packet_extensions_count, opus_packet_extensions_parse,
and opus_packet_extensions_generate. Add various assertions for NULL buffers or
negative length arguments. Add explicit check for invalid length in
opus_packet_extensions_count. Check for extension id >127 in
opus_packet_extensions_generate. Check for invalid length input in
opus_packet_extensions_generate.
Signed-off-by: Jean-Marc Valin <jmvalin@amazon.com>