581 Commits

Author SHA1 Message Date
Chris Robinson
e79d9bdd1a Move the vector and matrix declarations to a separate header 2018-11-17 23:21:37 -08:00
Chris Robinson
fa3c34268d Move the ALCcontext definition to its own header 2018-11-17 23:02:27 -08:00
Chris Robinson
d10301c209 Remove unused headers and checks 2018-11-17 19:52:54 -08:00
Chris Robinson
1ac41d3ea0 Convert almalloc.c to C++ 2018-11-17 19:01:10 -08:00
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
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
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
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
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
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
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
Chris Robinson
271cfcf8e3 Convert the Solaris backend factory 2018-11-15 22:23:29 -08:00
Chris Robinson
d73d01548d Convert the SDL2 backend factory 2018-11-15 22:15:10 -08:00
Chris Robinson
2a839e5762 Convert the JACK backend factory 2018-11-15 22:03:20 -08:00
Chris Robinson
d4928d4e7d Convert the Wave Writer backend factory 2018-11-15 21:53:14 -08:00
Chris Robinson
cc113ce6ab Convert the OpenSL backend factory 2018-11-15 21:42:17 -08:00
Chris Robinson
9d43b548cc Convert the ALSA backend factory 2018-11-15 21:33:44 -08:00
Chris Robinson
ead830814b Convert the CoreAudio backend factory 2018-11-15 21:24:09 -08:00
Chris Robinson
b1fb2e9e14 Convert the WASAPI backend factory 2018-11-15 21:14:20 -08:00
Chris Robinson
e716c7b988 Convert the PulseAudio backend factory 2018-11-15 19:57:21 -08:00
Chris Robinson
4311c609e4 Update the loopback backend 2018-11-15 19:42:13 -08:00
Chris Robinson
49d8ac2537 Start a new backend factory API
Using proper class inheritance. Be aware this breaks all backends except null
(and loopback). They will be restored individually in due time.
2018-11-15 19:15:14 -08:00
Chris Robinson
7c93308771 Remove checks for functions that always exist
They're part of C++11 and available on the testing systems. If some system has
trouble, switching to proper C++ calls should fix it.
2018-11-15 17:53:05 -08:00