729 Commits

Author SHA1 Message Date
Chris Robinson
fd52c828a9 Improve handling main() with UTF-8 args on Windows 2020-08-12 17:40:00 -07:00
Chris Robinson
58a2a5e2e3 Add a comment about 32-bit GCC stack aligning with SSE codegen 2020-08-05 17:43:51 -07:00
Luis Cáceres
064710cdf7
Force stack alignment on 32-bit gcc for proper SSE use (#462)
Fixes crashes due to misaligned stack variables in SSE instructions (#460).
2020-08-05 07:16:56 -07:00
Chris Robinson
f409cb4039 Revert "Don't call find_package(WindowsSDK) if the platform ver is already set"
This reverts commit c1383e3a48c6b882adb97df2255a0f2938cb2887.
2020-07-09 00:07:33 -07:00
Chris Robinson
c1383e3a48 Don't call find_package(WindowsSDK) if the platform ver is already set 2020-07-08 23:32:24 -07:00
Chris Robinson
c951190d3a Fix a typo 2020-06-12 12:54:05 -07:00
Chris Robinson
26eccd159f Link with the CoreFoundation framework on iOS 2020-06-11 08:55:52 -07:00
Chris Robinson
ad9fc31bfd More capitalization fixes 2020-06-11 08:55:24 -07:00
Chris Robinson
df1bdc7bc4 Fix some capitalization 2020-06-11 07:56:45 -07:00
Chris Robinson
15437e3140 Don't export functions when static linking 2020-06-10 21:03:04 -07:00
Chris Robinson
9322c86e2f Avoid explicit checks for _BitScanForward[64] 2020-06-07 14:15:48 -07:00
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