Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Expand the anonymous namespaces | Chris Robinson | 2018-11-02 | 2 | -31/+28 |
| | |||||
* | Add a wrapper to manage PROPVARIANT objects | Chris Robinson | 2018-11-02 | 1 | -26/+35 |
| | |||||
* | Workaround lack of roundf with early MSVC | Chris Robinson | 2018-11-02 | 1 | -0/+12 |
| | |||||
* | Use HUGE_VALF instead of INFINITY | Chris Robinson | 2018-11-02 | 1 | -1/+2 |
| | | | | Older MSVC lacks INFINITY, and we define a HUGE_VALF fallback when needed. | ||||
* | Specify the correct array size for casting | Chris Robinson | 2018-11-02 | 1 | -2/+2 |
| | |||||
* | Check the correct propvariant object | Chris Robinson | 2018-11-02 | 1 | -4/+4 |
| | |||||
* | Try another fix to declare GUIDs in C++ | Chris Robinson | 2018-11-02 | 1 | -4/+10 |
| | |||||
* | Make the polymorphism macros less hacky in C++ | Chris Robinson | 2018-11-01 | 3 | -345/+327 |
| | | | | | | In particular, it relies on derived structs using C++-style inheritence. Any implementation's source that's converted to C++ will consequently need to make that change. | ||||
* | Workaround some issue with DEFINE_GUID in C++ | Chris Robinson | 2018-11-01 | 1 | -2/+4 |
| | |||||
* | Use more C++ types where possible | Chris Robinson | 2018-11-01 | 1 | -343/+290 |
| | |||||
* | Use an anonymous namespace instead of static for some things | Chris Robinson | 2018-11-01 | 1 | -3/+7 |
| | |||||
* | Preliminary conversion of the WASAPI backend to C++ | Chris Robinson | 2018-11-01 | 2 | -233/+223 |
| | | | | A very sparse conversion. Will clean up more later after seeing what MSVC does. | ||||
* | Remove unused CXX_FLAGS variable | Chris Robinson | 2018-11-01 | 1 | -4/+3 |
| | | | | | The Visual Studio generators apparently don't like the $<COMPILE_LANGUAGE:...> expression. Since it's not actually used for anything at the moment, remove it. | ||||
* | Fix a macro check | Chris Robinson | 2018-11-01 | 1 | -2/+2 |
| | |||||
* | Use a wrapper function to simplify a check | Chris Robinson | 2018-11-01 | 1 | -8/+10 |
| | |||||
* | Use perfect forwarding to initialize DevMap entries | Chris Robinson | 2018-11-01 | 1 | -3/+4 |
| | |||||
* | Simplify a couple loops | Chris Robinson | 2018-11-01 | 1 | -40/+36 |
| | |||||
* | Use the appropriate enums for standard atomics | Chris Robinson | 2018-11-01 | 1 | -3/+3 |
| | |||||
* | Avoid uniform initialization with references | Chris Robinson | 2018-11-01 | 1 | -2/+2 |
| | | | | Also doesn't work with GCC 4.x | ||||
* | Remove unused header | Chris Robinson | 2018-11-01 | 1 | -1/+0 |
| | |||||
* | Include a missing header for atomic | Chris Robinson | 2018-11-01 | 1 | -0/+1 |
| | |||||
* | Fix another use of auto uniform initialization | Chris Robinson | 2018-11-01 | 1 | -1/+1 |
| | |||||
* | Avoid all uniform initialization with auto | Chris Robinson | 2018-11-01 | 1 | -66/+64 |
| | | | | | | Because of early C++11 (GCC 4.x) deficiencies, it's not interpreted correctly. Either declare the type name explicitly with uniform initization, or use auto with = initialization. It'll be fine when updating to GCC 5 or Clang 3.6. | ||||
* | Avoid uniform initialization on auto for integer types | Chris Robinson | 2018-10-31 | 1 | -17/+17 |
| | | | | To work around a deficiency with early C++11 compilers (GCC 4.x). | ||||
* | Convert the PulseAudio backend to C++ | Chris Robinson | 2018-10-31 | 2 | -598/+582 |
| | |||||
* | Make a const array constexpr | Chris Robinson | 2018-10-31 | 1 | -1/+1 |
| | |||||
* | Move some extern inline declarations to C | Chris Robinson | 2018-10-31 | 2 | -5/+8 |
| | |||||
* | Avoid assigning in an if statement | Chris Robinson | 2018-10-31 | 1 | -20/+20 |
| | |||||
* | Add a missing <array> include | Chris Robinson | 2018-10-31 | 1 | -0/+1 |
| | |||||
* | Fix some backup atomic macros | Chris Robinson | 2018-10-31 | 1 | -4/+4 |
| | |||||
* | Convert alBuffer.c to C++ | Chris Robinson | 2018-10-31 | 2 | -381/+293 |
| | | | | A test to ensure everything works. | ||||
* | Add specializations for lock_guard and unique_lock to take almtx_t | Chris Robinson | 2018-10-31 | 1 | -1/+60 |
| | |||||
* | Add a C++ ContextRef helper to manage a ALCcontext reference | Chris Robinson | 2018-10-31 | 1 | -1/+35 |
| | |||||
* | Clean up the DriverIface in its destructor | Chris Robinson | 2018-10-30 | 2 | -10/+13 |
| | |||||
* | Add a missing include for array | Chris Robinson | 2018-10-30 | 1 | -0/+1 |
| | |||||
* | Remove an unnecessary include | Chris Robinson | 2018-10-30 | 1 | -1/+0 |
| | |||||
* | Build the router with AppVeyor | Chris Robinson | 2018-10-30 | 1 | -1/+1 |
| | |||||
* | Clean up the router's PtrIntMap | Chris Robinson | 2018-10-30 | 3 | -137/+96 |
| | |||||
* | Use std::array instead of raw arrays | Chris Robinson | 2018-10-30 | 1 | -25/+19 |
| | |||||
* | Use std::wstring in place of some fixed WCHAR arrays | Chris Robinson | 2018-10-30 | 2 | -114/+114 |
| | |||||
* | Add a cmake option to static-link winpthread | Chris Robinson | 2018-10-30 | 1 | -10/+37 |
| | |||||
* | Use std::vector instead of custom dynamic arrays | Chris Robinson | 2018-10-30 | 3 | -149/+123 |
| | |||||
* | Use C++ atomics and mutexes in the router | Chris Robinson | 2018-10-30 | 4 | -99/+86 |
| | |||||
* | Convert the router to C++ | Chris Robinson | 2018-10-30 | 4 | -94/+101 |
| | |||||
* | Add extern "C" for router.h | Chris Robinson | 2018-10-30 | 1 | -0/+8 |
| | |||||
* | Add a cmake option to static-link libstdc++ | Chris Robinson | 2018-10-29 | 1 | -1/+21 |
| | |||||
* | Workaround C++ compatiility issues for atomic.h | Chris Robinson | 2018-10-29 | 1 | -5/+49 |
| | | | | | | | | | | This isn't wholly correct since neither C11 or C++11 guarantee compatibility between atomic implementations. It's desired behavior and mostly works, see: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0943r1.html Alignment issues can be fixed with manual alignas() specifications, should the need arise. | ||||
* | Fix some more headers for C++ | Chris Robinson | 2018-10-29 | 3 | -3/+3 |
| | |||||
* | Fix some uses of RESTRICT | Chris Robinson | 2018-10-29 | 2 | -2/+2 |
| | |||||
* | Update version for AppVeyor | Chris Robinson | 2018-10-29 | 1 | -1/+1 |
| |