- Jan 14, 2014
-
-
Ralph Giles authored
In glib 2.17 the __malloc_ptr define was removed in favour of using void* directly. Our declaration of mhook using this type for the second argument therefore rightly generates a warning on modern systems, since the type is assumed to be an int, which is too narrow to hold a pointer on 64 bit architectures. Since it was only ever a define we could use an #ifndef to define __malloc_ptr ourselves. However we only use it once, so using void* in the signature directly is cleaner. This should cause no problems on older systems where it will match either the void* or the char* (for non __STDC__ code) the define resolved to.
-
- Nov 24, 2013
-
-
Gregory Maxwell authored
This removes an unused definition warning when compiling without custom modes.
-
- Nov 22, 2013
-
-
Gregory Maxwell authored
-
Gregory Maxwell authored
-
- Nov 20, 2013
-
-
Ralph Giles authored
-
- Nov 19, 2013
-
-
Gregory Maxwell authored
-
Gregory Maxwell authored
-
- Nov 18, 2013
-
-
Jean-Marc Valin authored
-
- Nov 17, 2013
-
-
Gregory Maxwell authored
-
- Nov 09, 2013
-
-
Jean-Marc Valin authored
-
- Oct 28, 2013
-
-
Gregory Maxwell authored
Newer versions of MSVC are unhappy with the strategy of the build environment redefining "inline" (even though they don't support the actual keyword). Instead we define OPUS_INLINE to the right thing in opus_defines.h. This is the same approach we use for restrict.
-
- Oct 12, 2013
-
-
- Jun 30, 2013
-
-
Gregory Maxwell authored
-
Gregory Maxwell authored
Also makes the CTL bad argument handling more consistent to avoid mistakes like that in the future. Also updates the variable duration docs.
-
- Jun 27, 2013
-
-
Jean-Marc Valin authored
commit 77880655f652c54415e4b5f03b5984b951f5267b Author: Timothy B. Terriberry <tterribe@xiph.org> Date: Wed Jun 26 12:23:53 2013 +0200 Fix version.mk parsing in genversion.bat. This was broken by the changes in 0482c82f to make it work with spaces. CMD interprets the quotes to mean the argument to FOR is a string, not a file name. Instead, we expand the path to a short file name. Signed-off-by:
Gian-Carlo Pascutto <gcp@sjeng.org> commit 8e97847ecac3a04956747b117fefef14939cbcbe Merge: 0482c82 3c0aa8fc Author: Gian-Carlo Pascutto <gcp@sjeng.org> Date: Wed Jun 26 12:19:41 2013 +0200 Merge branch 'master' into msvc_reorg commit 0482c82fea6dd397a7d2ab50dc6cda4965278fc2 Author: Gian-Carlo Pascutto <gcp@sjeng.org> Date: Tue May 21 17:59:30 2013 +0200 Make genversion.bat work in paths with spaces. commit 3648ec55b7511119735280fc49bc57c7a3b55d6a Author: Gian-Carlo Pascutto <gcp@sjeng.org> Date: Tue May 21 17:42:14 2013 +0200 Rework output & intermediate dirs for parallel build support. commit c367a0fcfcbf5551fb65d61365d9b832d7af2b38 Merge: bafb1dd b518b56f Author: Gian-Carlo Pascutto <gcp@sjeng.org> Date: Tue May 21 14:17:11 2013 +0200 Merge branch 'master' into msvc_reorg Conflicts: win32/VS2010/celt.vcxproj win32/VS2010/opus.vcxproj win32/VS2010/silk_common.vcxproj win32/VS2010/silk_float.vcxproj commit bafb1dda3fcf6785decdfb42a1f934c7fab0c567 Author: Gian-Carlo Pascutto <gcp@sjeng.org> Date: Mon Mar 11 21:25:28 2013 +0100 Fix two more files to not have the Platform Toolset explicitly set. commit c69c870201fec7461862fe79731a37866a1810f1 Author: Gian-Carlo Pascutto <gcp@sjeng.org> Date: Mon Mar 11 21:08:00 2013 +0100 Add missing SILK MSVC project files. commit a0d41fb7f97558c8f812d500b9027c77907c37c0 Author: Gian-Carlo Pascutto <gcp@sjeng.org> Date: Fri Mar 8 15:00:51 2013 +0100 Use the default toolset in the MSVC project files. commit 34aac5b2637ed38c5620f0d876e08db232849933 Author: Gian-Carlo Pascutto <gcp@sjeng.org> Date: Fri Mar 8 14:54:41 2013 +0100 Move the MSVC project files outside the source tree. Bring the project structure more in line with the one in libogg.
-
- May 27, 2013
-
-
If opus_compare doesn't exist or isn't executable, tests failed normally which could be misleading. So test for existence and mode to avoid this ambiguity.
-
- Apr 06, 2013
-
-
Gregory Maxwell authored
-
- Mar 05, 2013
-
-
Quiets: warning: this decimal constant is unsigned only in ISO C90 when building with e.g., gcc -m32 -std=gnu90
-
- Dec 06, 2012
-
-
Also remove a useless extern that crept into the tests from some optimization driven testcase generation.
-
Gregory Maxwell authored
-
- Dec 04, 2012
-
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
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.
-
- Dec 03, 2012
-
-
Ralph Giles authored
This avoids linker errors with VS2010 of the form failure during conversion to COFF: invalid file or corrupt [c:\users\giles\opus\source\opus_demo.vcxproj] The problem does not occur if the project files are updated to build under VS2012.
-
- Dec 01, 2012
-
-
Ralph Giles authored
This is a heavily modified version of the demonstration program Jüri Aedla posted to the mailing list. Verified to pass with the current commit, but fail with the tree from two commits ago. http://lists.xiph.org/pipermail/opus/2012-November/001834.html
-
- Nov 09, 2012
-
-
Ralph Giles authored
These files has unix line endings, while the other project files have dos line endings. I hoped this would fix the link error about corrupt or invalid files with these projects, but it doesn't. Running 'Update project files...' in the VS2012 IDE is a work around, but it just adds a <PlatformToolset> element to each <PropertyGroup> and a line ending at the end of the file.
-
- Oct 30, 2012
-
-
Jean-Marc Valin authored
-
- Oct 27, 2012
-
-
Gregory Maxwell authored
As reported by Mark Warner opus_multistream_*_create were depending on the behavior of malloc(0) in order to correctly report some kinds of argument errors. Bad arguments could be incorrectly reported as allocation failures. This changes multistream to explicitly check the arguments like the single stream _create functions. The unit tests were enough to catch this on systems where malloc(0) returns NULL but didn't catch it on other systems because the later _init call would catch the bad arguments and trigger the correct error if and only if the malloc didn't return a null pointer. In multistream_encoder_init failures of the internal non-multistream init calls were not being caught and propagated. Decode didn't have this problem. This propagates the errors and adds additional tests (the multistream encoder api is sill under tested) that would have detected this error. Plus add some stronger tests for things like error==NULL for the _create functions that take a pointer for error output.
-
- Oct 23, 2012
-
-
Emily Bowman authored
Specify the correct debug runtime libraries for the test and demo executables to prevent mismatch warnings with the default runtime. Signed-off-by:
Ralph Giles <giles@mozilla.com>
-
Ralph Giles authored
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.
-
- Oct 11, 2012
-
-
- Sep 27, 2012
-
-
I stumbled upon the typo in README.draft, so took the opportunity to grep for common misspellings using List_of_common_misspellings.txt for hunspell.
-
- Sep 26, 2012
-
-
Gregory Maxwell authored
-
- Aug 21, 2012
-
-
Gregory Maxwell authored
-
- Aug 09, 2012
-
-
Gregory Maxwell authored
Match up the exit behavior when the no-fuzz enviroment variable is set.
-
- Aug 08, 2012
-
-
Gregory Maxwell authored
-
- Jul 16, 2012
-
-
The (non-default) temporary & output dirs configured in the projects could cause issues when doing compilation on a multiprocessor machine. Cleaned this up a little to use the defaults, which makes that work again and doesn't make the output structure any worse. Also removed debug output for release binaries & a tiny whitespace fix.
-
- Jul 14, 2012
-
-
Gregory Maxwell authored
-
- Jul 13, 2012
-
-
gcp authored
-
- Jul 12, 2012
-
-
Add project files for Opus tests, fixup test source for Win32.
-
- Jul 11, 2012
-
-
Gregory Maxwell authored
The last commit changed some of the multistream tests to use a dual-mono setup instead of a single-stereo setup. Some of the accompanying explicit valgrind checks were still setup to look for stereo streams.
-