5650 Commits

Author SHA1 Message Date
Chris Robinson
2530370ff2 Avoid relying on struct timespec 2018-11-26 23:45:04 -08:00
Chris Robinson
d7d99adc91 Avoid including threads.h in the example helpers 2018-11-26 23:18:51 -08:00
Chris Robinson
d06f76957c Remove althrd_yield 2018-11-26 23:06:49 -08:00
Chris Robinson
4c1fc3ae00 Remove unused almtx stuff 2018-11-26 22:36:55 -08:00
Chris Robinson
2d45ec8dc3 Use a standard mutex for the remaining locks 2018-11-26 22:06:53 -08:00
Chris Robinson
68eef6abb4 Use a standard mutex for the source and effect slot locks 2018-11-26 21:50:48 -08:00
Chris Robinson
2e73c2ca92 Use a standard mutex for the proplock 2018-11-26 21:39:31 -08:00
Chris Robinson
d8b9230ee4 Use a standard mutex for the backend lock 2018-11-26 21:39:31 -08:00
Chris Robinson
b108d0acfd Remove the last remaining uses of althrd_t 2018-11-26 21:39:31 -08:00
kcat
7860a11ae2
Merge pull request #249 from wangwenx190/patch-win10-sdk
Support build with latest Win10 SDK
2018-11-26 21:39:05 -08:00
wangwenx190
00ad4a2f5d
Update FindWindowsSDK.cmake 2018-11-27 13:20:04 +08:00
wangwenx190
9070426ece
Update FindWindowsSDK.cmake
Support latest Win10 SDK.
2018-11-27 13:18:30 +08:00
Chris Robinson
9ac76c0a7f Simplify some binary search lookups 2018-11-26 20:55:00 -08:00
Chris Robinson
bf9db1fe3d Remove althrd_t from Windows 2018-11-26 20:34:16 -08:00
Chris Robinson
ecab90802a Replace some uses of althrd_t with std::thread 2018-11-26 20:06:22 -08:00
Chris Robinson
05390fa827 Add a missing std::begin 2018-11-26 19:01:14 -08:00
Chris Robinson
75b39cafc8 Get rid of some unnecessary functions 2018-11-26 18:25:29 -08:00
Chris Robinson
df3dcc879f Get rid of the last ATOMIC macro uses 2018-11-26 18:19:58 -08:00
Chris Robinson
461ef4196e Avoid using ATOMIC_LOAD on ALCdevice::Connected 2018-11-26 18:07:52 -08:00
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
04cbdbd569 Remove some unused macros 2018-11-26 14:53:20 -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
5b2b96b245 Don't explicitly clear vector objects in the destructor 2018-11-25 17:51:39 -08:00
Chris Robinson
127ec026e7 Automatically clean up filters and effects with their sublists 2018-11-25 16:16:40 -08:00
Chris Robinson
8ae07ad1ae Automatically clean up buffers with ther sublist 2018-11-25 15:30:32 -08:00
Chris Robinson
05845b53e8 Clean up MixSource 2018-11-25 13:20:26 -08:00
Chris Robinson
ad2639248a Avoid another DECL_TEMPLATE macro 2018-11-25 10:52:17 -08:00
Chris Robinson
adcdb8ce64 Fix an incorrect function call 2018-11-25 09:27:50 -08:00
Chris Robinson
ec97360352 Avoid a separate function to clean up effect slots 2018-11-25 09:23:01 -08:00
Chris Robinson
bf4518fe5c Atuomatically clean up sources with its sublist's destruction 2018-11-25 08:42:43 -08:00
Chris Robinson
7c0605f09e Properly initialize the sublists' freemask 2018-11-25 07:40:15 -08:00
Chris Robinson
f5f2cdaaf3 Add a POPCNT64 macro
To count the number of 1/on bits in a 64-bit value
2018-11-24 21:16:53 -08:00
Chris Robinson
71660df5e5 Move bs2b.h to a more appropriate place 2018-11-24 19:54:30 -08:00
Chris Robinson
377325e794 Use C++ methods a bit more 2018-11-24 19:16:21 -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
16a60dc371 Avoid an extraneous boolean 2018-11-24 15:30:28 -08:00
Chris Robinson
bd8db0d27b Make GetContextRef return a ContextRef 2018-11-24 14:07:32 -08:00
Chris Robinson
62d38b1187 Use RAII in alEffect.cpp 2018-11-24 13:23:27 -08:00
Chris Robinson
6a84a2ca61 Fix a couple comments 2018-11-24 12:09:37 -08:00
Chris Robinson
d83cff02e5 Ensure an enum is the appropriate size/type 2018-11-24 11:41:50 -08:00
Chris Robinson
b508a760c8 Use a normal vector to store buffer data 2018-11-24 10:07:48 -08:00
Chris Robinson
505e535655 Use RAII more with alFilter.cpp 2018-11-24 09:40:13 -08:00
Chris Robinson
48154c94d7 Use a unique_ptr while opening a device 2018-11-23 20:16:34 -08:00
Chris Robinson
a7c556f814 Use RAII for device references 2018-11-23 17:54:12 -08:00
Chris Robinson
df057d4118 Make the context VoiceCount atomic 2018-11-23 16:16:31 -08:00
Chris Robinson
73528c9f55 Fix an incorrect check 2018-11-23 14:42:02 -08:00
Chris Robinson
fb94cdcfd3 Restructure and clean up alu.cpp a bit 2018-11-23 13:12:48 -08:00
Chris Robinson
438e626993 Avoid a couple explicit loops 2018-11-22 22:53:22 -08:00