718 Commits

Author SHA1 Message Date
Chris Robinson
a512eae7bb Move BUFFERSIZE and FloatBufferLine to a separate header 2020-05-19 10:21:19 -07:00
Chris Robinson
463591663c Check that aligned_alloc is available with cmake
Some compilers support C++17 even on targets that lack required functions.
Projects that want to force C++17 will then run into a problem with
std::aligned_alloc not existing on those targets, so it needs to be explicitly
checked for. The alternative is to simply never use it even when it would be
available.
2020-05-19 08:13:13 -07:00
Chris Robinson
2574b98f8a Move the bsinc tables out of common 2020-05-11 02:24:08 -07:00
Chris Robinson
4630a535b2 Re-add an option for installing the main lib 2020-05-07 00:02:23 -07:00
Chris Robinson
0a69adf845 Avoid unnecessary PATH_SUFFIXES 2020-04-26 07:59:08 -07:00
Chris Robinson
e3f6afafde Remove some hopefully unneeded macros 2020-04-25 02:12:43 -07:00
Chris Robinson
61cf6d3bb6 Simplify some install statements 2020-04-19 04:38:44 -07:00
Chris Robinson
9b9a65a0bf Use an import target for libsndfile 2020-04-19 04:00:01 -07:00
Chris Robinson
3902337e01 Fix some message formatting 2020-04-19 03:37:32 -07:00
Chris Robinson
07726ad63a Make sure HAVE_OBOE is cleared before checking 2020-04-19 03:35:31 -07:00
Chris Robinson
1ca7f22145 Correctly test for SSE switches 2020-04-19 02:47:11 -07:00
Chris Robinson
0a0478f670 Rename install options for consistency 2020-04-19 00:58:01 -07:00
Chris Robinson
12d71a0ad1 Don't explicitly link libpthread
Compiling and linking with -pthread is apparently enough.
2020-04-19 00:37:03 -07:00
Chris Robinson
253773b316 Build Oboe with hidden visibility 2020-04-18 23:03:50 -07:00
Chris Robinson
67e54a2669 Add an Oboe backend stub 2020-04-18 15:17:53 -07:00
Chris Robinson
5214a7210a Combine multiple target installs 2020-04-15 00:21:36 -07:00
Chris Robinson
3a5a9e90d0 Fix installing alsoft-config 2020-04-15 00:09:45 -07:00
Chris Robinson
8ef8b5e215 Combine utility target installs 2020-04-14 23:37:48 -07:00
Chris Robinson
cd6908fd19 Always define install targets for the main library
Examples and utilities now have separate install options.
2020-04-14 23:25:47 -07:00
Chris Robinson
930cda39cd Simplify some indentation 2020-04-14 22:02:59 -07:00
Chris Robinson
ac54ab8a3e Remove some unnecessary cmake checks 2020-04-14 18:25:22 -07:00
Chris Robinson
611a0155cd Ignore "attribute '...' is not recognized" MSVC warning 2020-04-10 15:12:57 -07:00
Chris Robinson
ae173ba863 Remove an unused cmake variable 2020-04-10 08:59:22 -07:00
Chris Robinson
0dc9b0392d Apply static-link flags directly to the target 2020-04-10 08:43:59 -07:00
kcat
de2599b70b
Merge pull request #167 from aaronmjacobs/build-version-option
Add option to disable "build_version" cmake target
2020-04-05 00:02:54 -07:00
Chris Robinson
431d01cc7f Use a cmake script to convert a binary file to a header file 2020-04-04 08:46:18 -07:00
Chris Robinson
ebe30fb0bd Remove the now-unused bsincgen 2020-04-02 04:34:28 -07:00
Chris Robinson
8853519d89 Generate the bsinc tables using constexpr methods
All the methods used should be compliant with C++14 constexpr rules. However,
the number of scales and phases cause GenerateBSincCoeffs to reach the allowed
step limit, preventing full compile-time generation. It's not a terribly big
deal, it'll generate them very quickly when loading, but it does prevent using
shared read-only memory pages.
2020-04-02 00:49:19 -07:00
Chris Robinson
cc009b8aa0 Move the FrontStablizer definition to its own header 2020-03-30 01:16:15 -07:00
Chris Robinson
d70912c034 Remove the QSA backend
It's been broken for who knows how long, and could really do with a rewrite for
the new interface anyway.
2020-03-29 20:37:58 -07:00
Chris Robinson
cae78e79e8 Convert the examples from SDL_sound to libsndfile 2020-03-24 15:46:47 -07:00
Chris Robinson
586bc94d51 Use libsndfile for the alplay example 2020-03-24 13:36:49 -07:00
Chris Robinson
f6a0b004e0 Update to C++14 2020-03-22 08:05:22 -07:00
Chris Robinson
adf28d87aa Remove the check for stat()
It's POSIX-2001 standard
2020-03-21 08:39:45 -07:00
Chris Robinson
0d11de3e8d Move CPUCapFlags and FillCPUCaps to their own source 2020-03-20 15:30:41 -07:00
Chris Robinson
f56ef433d8 Move the FPUCtl methods to its own source 2020-03-20 15:01:45 -07:00
Chris Robinson
642ef4edc9 Add a streaming example using a callback buffer 2020-02-20 17:53:09 -08:00
Sergey Karchevsky
3001d56d4b Set static MSVC runtim for cpp files when FORCE_STATIC_VCRT is ON.
Fixes #384
2020-01-26 05:38:37 +07:00
Chris Robinson
f5e0eef34d Release 1.20.1 2020-01-23 23:28:45 -08:00
Chris Robinson
9fc2f8541b Don't hardcode the system paths for searching frameworks 2019-12-29 21:03:28 -08:00
Chris Robinson
4867f93a34 Move duplicate SOFA-related functions to a reusable library 2019-12-11 00:49:57 -08:00
Chris Robinson
b310e09f59 Rename the default HRTF 2019-11-28 15:48:07 -08:00
Chris Robinson
4eb9a0b835 Don't keep a resampled default HRTF 2019-11-28 12:57:42 -08:00
Chris Robinson
c093728ced Move the polyphase resampler to the common lib 2019-11-28 10:54:47 -08:00
Chris Robinson
c0cf323e1d Release 1.20.0 2019-11-28 00:45:08 -08:00
Chris Robinson
f8ff4e269b Put the pragma defines in a separate header 2019-10-07 15:26:35 -07:00
Chris Robinson
64e2c377d8 Move ALvoice from alu.h to a separate header 2019-10-02 16:53:23 -07:00
Chris Robinson
a35cac7ce0 Rename mixvoice.cpp to voice.cpp 2019-10-02 15:29:01 -07:00
Chris Robinson
69eb685dbc Check for librt earlier 2019-10-01 22:35:33 -07:00
Chris Robinson
e2c1602ede Link the examples with librt if it exists 2019-10-01 19:56:39 -07:00