5444 Commits

Author SHA1 Message Date
Chris Robinson
4def2a60f2 Clean up helpers.cpp some 2018-11-11 23:13:11 -08:00
Chris Robinson
c66db3cdf6 Use the correct type for __control87_2 2018-11-11 22:27:37 -08:00
Chris Robinson
c23ea494ea Fix getting the process binary for FreeBSD or macOS 2018-11-11 22:19:32 -08:00
Chris Robinson
5848dab92d Make AmbDecConf::load noexcept
To ease the ovewrhead of destructors that call C (non-noexcept) functions.
2018-11-11 20:40:37 -08:00
Chris Robinson
f8bda31c72 Remove unused wstr functions 2018-11-11 20:40:02 -08:00
Chris Robinson
51ed335833 Use C++ more with helpers.cpp 2018-11-11 19:17:40 -08:00
Chris Robinson
4793e5c4ae Use C++ for GetProcBinary 2018-11-11 16:09:24 -08:00
Chris Robinson
58a71a1a00 Convert helpers.c to C++ 2018-11-11 14:56:25 -08:00
Chris Robinson
d3c4bab7bb Use a vector in the wave backend 2018-11-11 03:29:43 -08:00
Chris Robinson
2db82bea6f Define the examples' common library earlier 2018-11-11 00:47:57 -08:00
Chris Robinson
f99b16daa9 Use C++ threads in the null and wave backends 2018-11-11 00:33:04 -08:00
Chris Robinson
5bc2918e16 Remove the unused condition variable APIs 2018-11-10 22:53:03 -08:00
Chris Robinson
f3ce7bc7dc Move altimespec_get and al_nssleep to examples' common code 2018-11-10 21:09:54 -08:00
Chris Robinson
2f42f74418 Ensure ambdec parsing stops at unexpected EOF 2018-11-10 19:38:52 -08:00
Chris Robinson
3939878cc0 Use standard timing methods for the null and wave backends 2018-11-10 19:31:23 -08:00
Chris Robinson
dc31969b04 Get rid of the last few al_fopen calls 2018-11-10 04:27:10 -08:00
Chris Robinson
58eb0e754d Load config files using C++
Specifically, avoid al_fopen
2018-11-10 03:42:18 -08:00
Chris Robinson
5ec644f859 Convert alconfig to C++ 2018-11-10 00:13:35 -08:00
Chris Robinson
981205de36 Remove unused strdupW 2018-11-10 00:01:34 -08:00
Chris Robinson
68bcf81756 Remove the unused file mapping calls 2018-11-09 23:51:29 -08:00
Chris Robinson
d8163a416a Use C++ more in hrtf.cpp 2018-11-09 23:47:42 -08:00
Chris Robinson
add776ddbb Handle the open mode in al::ifstream 2018-11-09 21:56:05 -08:00
Chris Robinson
db56fd5e3d Convert hrtf.c to C++ 2018-11-09 18:08:42 -08:00
Chris Robinson
e8679e7214 Convert the null backend to C++ 2018-11-09 03:46:30 -08:00
Chris Robinson
781ca7c58b Convert the loopback backend to C++ 2018-11-09 03:15:57 -08:00
Chris Robinson
b327a50a15 Add missing consttructor and destructor calls for the wave backend 2018-11-09 02:55:28 -08:00
Chris Robinson
b2cdfe58eb Convert the wave backend to C++ 2018-11-09 01:55:54 -08:00
Chris Robinson
55c860deec Use C++ with the winmm backend 2018-11-09 01:34:59 -08:00
Chris Robinson
75eeb6ba4b Convert the WinMM backend to C++ 2018-11-08 20:32:31 -08:00
Chris Robinson
34c836c490 Disambiguate operation order 2018-11-08 14:25:05 -08:00
Chris Robinson
d71e50f7f7 Avoid using out parameters 2018-11-08 14:09:13 -08:00
Chris Robinson
b27ccb8aa6 Fix a macro typo 2018-11-08 12:21:25 -08:00
Chris Robinson
29435ad966 Prevent MSVC's dumb min/max macros 2018-11-08 04:15:16 -08:00
kcat
22c8330200
Merge pull request #246 from john-preston/fix_macro
Fix Resample_bsinc_SSE pointer casts.
2018-11-08 03:50:37 -08:00
Chris Robinson
4eed3e9236 Move static functions to an anonymous namespace 2018-11-08 03:31:42 -08:00
John Preston
c354ba2d2e Fix Resample_bsinc_SSE pointer casts.
Regression was introduced in 5ec11a017c.
2018-11-08 14:18:34 +04:00
Chris Robinson
41aa9845c4 Hide function pointer wrapper macros for IDE parsing 2018-11-07 18:26:33 -08:00
Chris Robinson
5e5e2f654e Disable MSVC warning C4200
"nonstandard extension used: zero-sized array in struct/union"
2018-11-06 21:45:40 -08:00
Chris Robinson
3cb0999a23 Use the proper enum values for atomic ops 2018-11-06 21:33:08 -08:00
Chris Robinson
aeb3849904 Also extract the Android support includes 2018-11-06 20:04:28 -08:00
Chris Robinson
620ae6491b Handle CMake policy CMP0075 2018-11-06 19:43:14 -08:00
Chris Robinson
8954d3a438 Fix Android extraction paths 2018-11-06 19:34:19 -08:00
Chris Robinson
9d4af941b9 Update Travis build images
GCC 4.x is too problematic with C++11. Ubuntu Xenial has GCC 5 which has more
complete C++11 conformance. For Android, NDK r16 includes libc++ as an
alternative to the deprecated GCC 4.9's libstdc++.
2018-11-06 19:23:00 -08:00
Chris Robinson
bf63c3d3d8 Don't set _FILE_OFFSET_BITS on Android 2018-11-06 19:15:09 -08:00
Chris Robinson
27fbccfb23 Don't directly declare standard function names 2018-11-06 19:14:17 -08:00
Chris Robinson
d76e9800da Use a more appropriate type for the result of tellg 2018-11-06 18:55:00 -08:00
Chris Robinson
3b664041ba Convert the DSound backend to C++ 2018-11-06 02:17:20 -08:00
Chris Robinson
9fa31fcd07 Avoid moving istringstreams
Doesn't work with GCC 4.x. Hopefully swapping does.
2018-11-04 19:11:07 -08:00
Chris Robinson
4dafb7dab1 Use C++ to read and parse ambdec files 2018-11-04 15:24:24 -08:00
Chris Robinson
26f7007507 Allocate the appropriate amount in the aligned allocator 2018-11-04 15:21:03 -08:00