Chris Robinson
8c69fb046c
Always use C++11 atomics
2018-11-17 18:56:00 -08:00
Chris Robinson
1468dee831
Convert bs2b.c to C++
2018-11-17 18:54:10 -08:00
Chris Robinson
9992cef915
Remove now unneeded inldefs.c
...
All code using inline functions is now C++, so will generate callable functions
as-needed.
2018-11-17 17:52:23 -08:00
Chris Robinson
7f69dbb517
Convert the mixers to C++
2018-11-17 17:49:55 -08:00
Chris Robinson
2d4ff77410
Remove ASSUME_ALIGNED
...
It's become a liability with C++ since it returns void* instead of the input
pointer type, and it doesn't seem to help optimizations anyway (auto-
vectorization still produces unaligned loads and stores).
2018-11-17 17:35:52 -08:00
Chris Robinson
e5442db803
Convert the filters to C++
2018-11-17 17:22:32 -08:00
Chris Robinson
ed5d222eed
Remove the old unused bsincgen.c
2018-11-17 07:50:46 -08:00
Chris Robinson
057b1411f9
Convert ringbuffer.c to C++
2018-11-17 07:45:10 -08:00
Chris Robinson
ff4219e54e
Convert mastering.c to C++
2018-11-17 07:40:10 -08:00
Chris Robinson
6e6a024058
Convert converter.c to C++
2018-11-17 07:35:11 -08:00
Chris Robinson
13478126cb
Convert the remaining effects to C++
2018-11-17 07:08:41 -08:00
Chris Robinson
93d96ced9c
Convert the dedicated, distortion, echo, and equalizer to C++
2018-11-17 06:53:20 -08:00
Chris Robinson
ad34855a2b
Add a couple missing includes
2018-11-17 06:11:55 -08:00
Chris Robinson
7b537c795b
Don't pass the current thread to althrd_setname
2018-11-17 06:07:04 -08:00
Chris Robinson
1fae8c16a8
Convert threads.c to C++
...
Also vastly simplify and remove related code.
2018-11-17 05:31:29 -08:00
Chris Robinson
ccdaca80c9
Use standard complex types instead of custom
2018-11-17 04:14:57 -08:00
Chris Robinson
09943683b5
Remove some more unused stuff
2018-11-17 02:41:21 -08:00
Chris Robinson
b485cbe53a
Make the Hann windows const
2018-11-17 02:30:41 -08:00
Chris Robinson
b69b3bd89f
Convert fshifter.c to C++
2018-11-17 01:58:38 -08:00
Chris Robinson
aa66ed0ea5
Convert modulator.c to C++
2018-11-17 01:53:39 -08:00
Chris Robinson
a7d3c24b51
Convert null.c to C++
2018-11-17 01:49:26 -08:00
Chris Robinson
557048afa2
Convert pshifter.c to C++
2018-11-17 01:36:47 -08:00
Chris Robinson
f1731af282
Remove unneeded declarations and definitions
2018-11-17 01:29:35 -08:00
Chris Robinson
3bbfd0c099
Fix compilation with MSVC
2018-11-16 23:01:40 -08:00
Chris Robinson
1bd40d9434
Put a lambda in the call_once call
...
This optimizes better and avoids a visible symbol (templating to an anonymous
lambda type will generate a unique anonymous instantiation, making inlining
more likely, whereas passing a general function pointer/reference type will
likely use or generate a publically available instance).
2018-11-16 22:41:04 -08:00
Chris Robinson
de8d8b5216
Remove unused altss types and methods
2018-11-16 22:12:35 -08:00
Chris Robinson
ee8e6733e1
Avoid using C-style TLS
2018-11-16 21:55:11 -08:00
Chris Robinson
8410e71a34
Convert the reverb effect to C++
2018-11-16 21:31:52 -08:00
Chris Robinson
a68d0b68d7
Convert mixvoice.c to C++
2018-11-16 20:46:50 -08:00
Chris Robinson
53373a43b8
Convert ALu.c to C++
...
Required changes to bsincgen to generate C++-friendly structures.
2018-11-16 20:32:19 -08:00
Chris Robinson
317acd6ae2
Convert alEffect.c and alFilter.c to C++
2018-11-16 18:44:43 -08:00
Chris Robinson
a15a678da6
Convert alListener.c to C++
2018-11-16 18:37:55 -08:00
Chris Robinson
0e0fe15b98
Convert alAuxEffectSlot.c to C++
2018-11-16 18:28:39 -08:00
Chris Robinson
ce370be52b
Remove some unneeded includes
2018-11-16 08:09:56 -08:00
Chris Robinson
50f36d39f7
Use lock_guard instead of manual lock/unlock calls
2018-11-16 07:11:27 -08:00
Chris Robinson
165c162d01
Convert alState.c to C++
2018-11-16 06:48:33 -08:00
Chris Robinson
436db28a3f
Convert alError.c to C++
2018-11-16 06:24:24 -08:00
Chris Robinson
8be45fe8a5
Convert alExtension.c to C++
2018-11-16 06:08:25 -08:00
Chris Robinson
fedd5ebbea
Convert event.c to C++
2018-11-16 06:00:28 -08:00
Chris Robinson
5cdd28c736
Convert sample_cvt.c to C++
2018-11-16 05:24:15 -08:00
Chris Robinson
02eae1123f
Use iterators instead of indexed loops
2018-11-16 05:23:42 -08:00
Chris Robinson
fc8191012a
Cleanup some syntax in alc.cpp
2018-11-16 00:06:54 -08:00
Chris Robinson
7a06a54af7
Simplify a couple checks
2018-11-15 23:58:34 -08:00
Chris Robinson
a727978eb9
Remove unused declarations and definitions
2018-11-15 23:55:23 -08:00
Chris Robinson
7ef7477a13
Convert the PortAudio backend factory
2018-11-15 23:50:15 -08:00
Chris Robinson
78eb68a89f
Convert the WinMM backend factory
2018-11-15 23:41:09 -08:00
Chris Robinson
2ca6119e0e
Convert the DSound backend factory
2018-11-15 23:32:28 -08:00
Chris Robinson
5dc1956e18
Convert the QSA backend factory
2018-11-15 23:10:06 -08:00
Chris Robinson
c78b42fb4e
Convert the OSS backend factory
2018-11-15 23:02:26 -08:00
Chris Robinson
7884cec02b
Convert the SndIO backend factory
2018-11-15 22:36:49 -08:00