557 Commits

Author SHA1 Message Date
Chris Robinson
7b537c795b Don't pass the current thread to althrd_setname 2018-11-17 06:07:04 -08:00
Chris Robinson
ce370be52b Remove some unneeded includes 2018-11-16 08:09:56 -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
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
Chris Robinson
245b7ff0b4 Remove the unused al_string API 2018-11-15 06:32:01 -08:00
Chris Robinson
7b3a2085aa Use a regular char* for the device's name 2018-11-15 06:23:01 -08:00
Chris Robinson
9d9d626d99 Avoid some more uses of al_string 2018-11-15 05:33:02 -08:00
Chris Robinson
08bee7cb58 Search the right list for WASAPI name duplicates 2018-11-15 04:35:35 -08:00
Chris Robinson
1971d0f5c6 Use std::string instead of al_string for enumerating 2018-11-15 04:24:33 -08:00
Chris Robinson
d4f64b9e29 Use a C++ mutex with the device backend base 2018-11-15 03:49:59 -08:00
Chris Robinson
27e7168ad4 Only declare the device backend stuff with C++ 2018-11-15 02:36:05 -08:00
Chris Robinson
1d2cc90175 Use C++ more in the OSS backend 2018-11-14 20:49:08 -08:00
Chris Robinson
83dec6b975 Use a C++ vector for enumerated OSS devices 2018-11-14 19:16:50 -08:00
Chris Robinson
dfcb6d3e6d More clearly check if the buffer is not empty 2018-11-14 02:41:21 -08:00
Chris Robinson
6ae217d005 Fix some comment indentation 2018-11-13 23:26:42 -08:00
Chris Robinson
c3ee206129 Use an anonymous namespace in the OSS backend 2018-11-13 23:23:46 -08:00
Chris Robinson
6510a44dba Use C++ more with the ALSA backend 2018-11-13 23:07:23 -08:00
Chris Robinson
5867c7b8c2 Don't bother inlining some functions 2018-11-13 19:45:26 -08:00
Chris Robinson
7088f4e34a Avoid calling through the vtable in the backends 2018-11-13 18:41:24 -08:00
Chris Robinson
0dfb805fa2 Use utf8_to_wstr to convert UTF-8 to wstring 2018-11-13 06:29:02 -08:00
Chris Robinson
2445bfd578 Convert the CoreAudio backend to C++ 2018-11-13 02:09:21 -08:00
Chris Robinson
0ff349a714 Convert the QSA backend to C++
This may very well not work, since there's no testing and my IDE is not able to
show real problems over the incompatibilities with ALSA headers.
2018-11-13 01:56:34 -08:00
Chris Robinson
09ea1d58f6 Convert the backend base to C++ 2018-11-13 01:39:42 -08:00
Chris Robinson
74d1337cc7 Convert the ALSA backend to C++ 2018-11-13 01:36:17 -08:00
Chris Robinson
1f34af4718 Convert the JACK backend to C++ 2018-11-13 01:20:15 -08:00
Chris Robinson
51a1310902 Convert the OpenSL backend to C++ 2018-11-13 00:33:25 -08:00
Chris Robinson
c93b7ca0da Convert the OSS backend to C++ 2018-11-12 23:49:11 -08:00
Chris Robinson
d9a47ab63c Convert the PortAudio backend to C++ 2018-11-12 23:32:11 -08:00
Chris Robinson
dd9ccde055 Convert the SoundIO backend to C++ 2018-11-12 23:17:27 -08:00
Chris Robinson
efae7bfb72 Convert the Solaris backend to C++ 2018-11-12 23:06:31 -08:00
Chris Robinson
e7ab5053e4 Convert the SDL2 backend to C++ 2018-11-12 22:57:39 -08:00
Chris Robinson
4793e5c4ae Use C++ for GetProcBinary 2018-11-11 16:09:24 -08:00