623 Commits

Author SHA1 Message Date
Chris Robinson
1a9edd4e35 Use a unique_ptr for the QSA backend data 2018-11-26 17:53:56 -08:00
Chris Robinson
04c2802a82 Rename some struct members 2018-11-26 17:31:04 -08:00
Chris Robinson
053599b243 Avoid using the ATOMIC() macro 2018-11-26 14:48:26 -08:00
Chris Robinson
a6923790fa Avoid using ATOMIC_INIT 2018-11-26 14:31:54 -08:00
Chris Robinson
9e10f632c7 Replace remaining uses of std::vector with al::vector
Which uses a custom allocator that uses our allocation functions.
2018-11-24 16:58:49 -08:00
Chris Robinson
d26b5d9467 Use proper time types for the device clock time and latency 2018-11-22 14:32:48 -08:00
Chris Robinson
84f0f74d07 Use standard types for the device clock times 2018-11-22 12:53:16 -08:00
Chris Robinson
d64d64d4a5 Use an enum class for AmbiLayout/Norm settings 2018-11-20 22:47:24 -08:00
Chris Robinson
f766437569 Fix a couple incorrect uses of ringbuffer pointer data 2018-11-19 05:07:09 -08:00
Chris Robinson
ac2a420351 Remove the ATOMIC_THREAD_FENCE macro 2018-11-19 05:04:17 -08:00
Chris Robinson
ad5f9d9b22 Return the ringbuffer data pointers as a pair 2018-11-19 04:46:49 -08:00
Chris Robinson
a14f39ea06 Make ll_ringbuffer_write/read take void*/const void* 2018-11-19 04:11:21 -08:00
Chris Robinson
e24435ef58 Remove the atomic exchange macros 2018-11-19 03:21:58 -08:00
Chris Robinson
dbf2381a3b Use a normal vector in the QSA backend 2018-11-18 23:23:12 -08:00
Chris Robinson
bafcba7194 Use a std::string for the device name 2018-11-18 18:45:45 -08:00
Chris Robinson
8b8f01e25d Avoid more cases of an enum variable and type name clash 2018-11-18 08:01:50 -08:00
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