summaryrefslogtreecommitdiff
path: root/tests/test_opus_decode.c
Commit message (Collapse)AuthorAgeFilesLines
* test_opus_decode: Fix build on GCC 3.4 to 4.5.xMark Harris2017-02-181-2/+2
| | | | Broken by b0949f11, reported by ko-zu on GitHub.
* Temporarily disable -Wnonnull around an opus_decode() call in test_opus_decode.cJean-Marc Valin2016-11-011-0/+7
| | | | Reported by wtchang in trac: https://trac.xiph.org/ticket/2160
* Fixing some opus_int vs opus_int32 mismatchesJean-Marc Valin2016-10-051-3/+3
| | | | Reported by Mark Warner.
* test_opus_decode: Check all soft clip samplesMark Harris2016-07-211-6/+6
|
* tests: Avoid shift into sign undefined behaviorMark Harris2016-07-211-1/+1
|
* Put custom_encoder_init decl behind CUSTOM_MODES. More softclip tests.Gregory Maxwell2013-11-241-2/+2
| | | | | This removes an unused definition warning when compiling without custom modes.
* Minor opus_pcm_soft_clip API hardening and tests.Gregory Maxwell2013-11-221-1/+47
|
* Add a couple minor additional decoder tests.Gregory Maxwell2013-06-291-0/+4
|
* test_opus_decode: force integer constants unsignedJames Zern2013-03-051-2/+2
| | | | | | | Quiets: warning: this decimal constant is unsigned only in ISO C90 when building with e.g., gcc -m32 -std=gnu90
* Add tests for GET_LAST_PACKET_DURATION.Gregory Maxwell2012-12-051-1/+15
| | | | | Also remove a useless extern that crept into the tests from some optimization driven testcase generation.
* Changes the PLC behaviour and fixes the FEC behaviour on concatenated packetsJean-Marc Valin2012-12-041-8/+8
| | | | | | PLC and FEC now return exactly the number of samples specified for the buffer rather than (usually) returning the size of the last packet. Doc and tests are updated accordingly.
* Include process.h for _getpid on windows.Ralph Giles2012-10-231-0/+3
| | | | | | | | | | | Previously the test programmes happened to link because _getpid returns an int, which is the default prototype. Instead, include the appropriate header to supply a real declaration, fixing the associated warning. I moved the getpid->_getpid define to the site of the header inclusion to make clear what's going on, rather than have it floating in win32/config.h.
* Avoid an inconsequential memory leak in tests/test_opus_decode.c.Gregory Maxwell2012-08-091-0/+7
| | | | | Match up the exit behavior when the no-fuzz enviroment variable is set.
* Fix headers by mingw broken by recent win32 changes.Gregory Maxwell2012-07-141-1/+1
|
* Make tests work on MSVC.Gian-Carlo Pascutto2012-07-121-0/+2
| | | | Add project files for Opus tests, fixup test source for Win32.
* Avoid an inconsequential memory leak in tests/test_opus_decode.cGregory Maxwell2012-06-011-0/+1
|
* Merge commit '390c89225d'Jean-Marc Valin2012-04-241-2/+2
|\
| * s/FOUNDATION/COPYRIGHT OWNER/ in CELT code and "glue code"Jean-Marc Valin2012-04-201-2/+2
| | | | | | | | Also added 3rd clause to "master" COPYING file
* | CLANG IOC no longer likes the 'deterministic random' bitstreams, so move the ↵Gregory Maxwell2012-03-061-10/+10
|/ | | | test_opus_decode bailout up.
* Improvements to the tests, add a TEST_OPUS_NOFUZZ to disable testing ↵Gregory Maxwell2012-01-251-2/+15
| | | | | | corrupted input. No changes to the codec itself.
* Testing tools improvements (no impact on draft)Gregory Maxwell2011-11-251-1/+12
|
* Update test_opus_encode / test_opus_decode for better LBRR/PLC testing and ↵Gregory Maxwell2011-10-281-1/+13
| | | | to reduce stack usage.
* Remove relative paths to opus.h.Ralph Giles2011-10-281-1/+1
| | | | | Files are already compiled with -I./include, the relative path in the #include line isn't necessary.
* Moves the main headers from src/ to include/Jean-Marc Valin2011-10-261-1/+1
|
* Renames test_opus to opus_demo and adds the test_opus_api, test_opus_encode, ↵Gregory Maxwell2011-10-261-0/+343
test_opus_decode test programs.