- Jun 13, 2020
-
-
[[ ]], the compound command is not supported by all shell interpreter. [ ], the buildin command is more common. Signed-off-by:
Ralph Giles <giles@thaumas.net>
-
Signed-off-by:
Mark Harris <mark.hsj@gmail.com>
-
CMAKE_SOURCE_DIR corresponds to the top project's source directory. CMAKE_BINARY_DIR corresponds to the top project's binary directory. The usage of these variables doesn't cause any problems when Opus is built as a standalone project. This is not the case when Opus is added as submodule: the variables are set by the project that calls "add_subdirectory()". The fix consists in using PROJECT_SOURCE_DIR and PROJECT_BINARY_DIR, which always refer to the current project. Signed-off-by:
Mark Harris <mark.hsj@gmail.com>
-
Signed-off-by:
Mark Harris <mark.hsj@gmail.com>
-
Signed-off-by:
Mark Harris <mark.hsj@gmail.com>
-
Signed-off-by:
Mark Harris <mark.hsj@gmail.com>
-
Signed-off-by:
Mark Harris <mark.hsj@gmail.com>
-
Signed-off-by:
Mark Harris <mark.hsj@gmail.com>
-
Signed-off-by:
Mark Harris <mark.hsj@gmail.com>
-
Signed-off-by:
Mark Harris <mark.hsj@gmail.com>
-
- Jun 12, 2020
-
-
Ralph Giles authored
This lighter-weight intrinsics header is available starting with Microsoft Visual Studio 2017, so the previous change to allow this header failed when building with Visual Studio 2015. Restores the appveyor continuous integration build.
-
Build time improvement, for MSVC use intrin0.h instead of intrin.h and remove usage of stdio.h in production code Signed-off-by:
Jean-Marc Valin <jmvalin@jmvalin.ca>
-
- Jun 11, 2020
-
-
Signed-off-by:
Jean-Marc Valin <jmvalin@jmvalin.ca>
-
Signed-off-by:
Jean-Marc Valin <jmvalin@jmvalin.ca>
-
- Jun 09, 2020
-
-
Signed-off-by:
Ralph Giles <giles@thaumas.net>
-
- Jun 01, 2020
-
-
Ralph Giles authored
Add doc/trivial_example.c to the autotools build so we get some minimal verification that the code compiles. Signed-off-by:
Mark Harris <mark.hsj@gmail.com>
-
Ralph Giles authored
Silence a gcc warning by checking the return value of the fread() call instead of the feof() guard. This prevents an infinite loop in the case of a read error. Otherwise, when end-of-file is reached fread() will certainly return a smaller number of elements read than requested, so both cases are handled now. Add a comment to clarify that we're dropping a partial frame on purpose to keep the code simple. Also add more braces around conditional bodies for less error-prone style. Signed-off-by:
Mark Harris <mark.hsj@gmail.com>
-
Ralph Giles authored
The simple codec round-trip example file in the doc directory opens an input and output pcm file. It was working fine on POSIX systems, but not on Windows, which treats text files differently. This is confusing in a example, so it's better to add an explicit binary flag to the fopen() calls. This does nothing on unix-like systems, but should make the example work for developers on Windows. Thanks to Wavesonics who reported this on irc. Signed-off-by:
Mark Harris <mark.hsj@gmail.com>
-
- May 26, 2020
-
-
Signed-off-by:
Hector Martin <marcan@marcan.st> Signed-off-by:
Mark Harris <mark.hsj@gmail.com>
-
- May 10, 2020
-
-
Mark Harris authored
-
Ralph Giles authored
Describe builds for the gitlab continuous integration service runners. This does a trial build under both autotools and cmake, so we get some coverage for changes on that hosting platform. After the same script in the vorbis and ogg projects. Signed-off-by:
Mark Harris <mark.hsj@gmail.com>
-
- Apr 26, 2020
-
-
Signed-off-by:
Ralph Giles <giles@thaumas.net>
-
- Apr 21, 2020
-
-
Signed-off-by:
Jean-Marc Valin <jmvalin@jmvalin.ca>
-
Signed-off-by:
Jean-Marc Valin <jmvalin@jmvalin.ca>
-
Signed-off-by:
Jean-Marc Valin <jmvalin@jmvalin.ca>
-
- Fix typo in OPUS_USE_NEON description. - Set OPUS_PRESUME_NEON for iOS platforms as all armv7 and higher iOS devices support NEON. - Fix detection of aarch64 for OPUS_CPU_ARM and adding sources from celt_sources_arm. (previously would miss armcpu.c and arm_celt_map.c) - Change "armv7-a" to "arm" in MATCHES checks against CMAKE_SYSTEM_PROCESSOR as systems like the RPi3 report as "armv7l". - Rename OPUS_MAY_SUPPORT_NEON to OPUS_MAY_HAVE_NEON as this name is used everywhere else in the CMake build system. Without this, runtime capability detection is broken on aarch64. Signed-off-by:
Jean-Marc Valin <jmvalin@jmvalin.ca>
-
Signed-off-by:
Jean-Marc Valin <jmvalin@jmvalin.ca>
-
Signed-off-by:
Jean-Marc Valin <jmvalin@jmvalin.ca>
-
Signed-off-by:
Jean-Marc Valin <jmvalin@jmvalin.ca>
-
cmake - intinsics fixes, only compile SSE source with SSE flags on non-windows when target use runtime check (GH #154). For windows we only use /arch flag when target is presumed to support SSE to avoid AVX function pollution (GH #132). Signed-off-by:
Jean-Marc Valin <jmvalin@jmvalin.ca>
-
Signed-off-by:
Jean-Marc Valin <jmvalin@jmvalin.ca>
-
Install include directory must be `include/opus`, not `include`. Old path is still here for compatibility. Signed-off-by:
Jean-Marc Valin <jmvalin@jmvalin.ca>
-
Signed-off-by:
Jean-Marc Valin <jmvalin@jmvalin.ca>
-
Signed-off-by:
Jean-Marc Valin <jmvalin@jmvalin.ca>
-
Signed-off-by:
Jean-Marc Valin <jmvalin@jmvalin.ca>
-
- Apr 13, 2020
-
-
When using OPUS_CUSTOM, `CELTDecoder->end` can be larger than 21. Assert against 25 instead in OPUS_CUSTOM builds. Signed-off-by:
Jean-Marc Valin <jmvalin@jmvalin.ca>
-
- Mar 23, 2020
-
-
Felicia Lim authored
-
- Mar 09, 2020
-
-
Felicia Lim authored
-
- Feb 15, 2020
-
-
Signed-off-by:
Felicia Lim <flim@google.com>
-
Reland "Fixes to the the activity flag that is passed to Silk so it represents the final activity flag used in the DTX decision" This flag was modified after calling the Silk encoder function. This commit corrects that behavior by introducing those modifications before calling the Silk encoder. Slightly modified comments by Felicia Lim Signed-off-by:
Felicia Lim <flim@google.com>
-