aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Don't link with libwinmm unless WinMM is enabledChris Robinson2014-04-191-11/+8
| | | | | We don't use timeGetTime for timing anymore, so winmm only needs to be linked when the winmm backend is enabled.
* Use a find module to look for DirectSoundChris Robinson2014-04-192-28/+60
|
* Use find cmake modules for more backendsChris Robinson2014-04-197-79/+259
|
* Add a GCC-specific STATIC_UPCAST macro that checks the object typeChris Robinson2014-04-194-4/+11
| | | | | The check is compile time, and is functionally identical to the old/alternate version.
* Use C11 alignas when availableChris Robinson2014-04-197-17/+55
|
* Dont bother trying _allocaChris Robinson2014-04-191-6/+1
| | | | | We prefer C99 variable-length arrays, and other systems (including MSVC9) don't have an issue with alloca.
* Set -D_GNU_SOURCE=1 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 earlierChris Robinson2014-04-191-4/+5
|
* Use FindALSA.cmake to look for ALSAChris Robinson2014-04-191-15/+14
| | | | Also, only provide the ALSA_BACKEND_ALSA option if it's available
* Only define SSE, Neon, and FluidSynth options if they're availableChris Robinson2014-04-181-17/+15
|
* Simplify some error checkingChris Robinson2014-04-182-21/+5
|
* Check pthread_mutex_unlock for errorsChris Robinson2014-04-181-3/+4
|
* Remove unnecessary includesChris Robinson2014-04-181-4/+0
|
* Alter the al_fopen macro to not directly take parametersChris Robinson2014-04-181-1/+1
|
* Rename AL_ONCE_INIT to AL_ONCE_FLAG_INITChris Robinson2014-04-182-3/+3
|
* Check TlsSetValue for errorChris Robinson2014-04-171-1/+2
|
* Rename althread_once to be more C11-likeChris Robinson2014-04-175-24/+30
|
* Handle the lib name as UTF-8Chris Robinson2014-04-171-14/+28
|
* Use the thread ID for althrd_t on WindowsChris Robinson2014-04-172-18/+34
|
* Rename SetThreadName to althrd_setnameChris Robinson2014-04-1713-27/+25
|
* Check explicitly for pthread_mutexattr_setkind_np before useChris Robinson2014-04-173-1/+7
|
* Fix SetThreadName for 64-bit MSVC buildsChris Robinson2014-04-171-1/+3
|
* Don't inline al_nssleepChris Robinson2014-04-172-13/+13
|
* Make and use a C11-like altimespec_get wrapper functionChris Robinson2014-04-176-98/+110
|
* Fix a signed-unsigned comparison warning and clarify a commentChris Robinson2014-04-171-5/+5
|
* Keep TlsDestructors within threads.cChris Robinson2014-04-174-5/+9
| | | | | This basically makes the threads implementation self-contained in threads.c and threads.h, except for the UIntMap/RWLock implementations.
* Don't use DllMain to call altss destructorsChris Robinson2014-04-173-20/+43
|
* Rename althread_key_ wrappers to altss_ and move it to threads.h/cChris Robinson2014-04-175-51/+82
|
* Fix some almtx_ return valuesChris Robinson2014-04-162-13/+36
|
* Remove almtx_normal and almtx_errorcheckChris Robinson2014-04-162-17/+8
|
* Make sure the duration given to althrd_sleep is validChris Robinson2014-04-161-2/+8
|
* Bump _WIN32_WINNT to 0x0502 (XP SP2) for GetThreadIdChris Robinson2014-04-161-4/+4
|
* Fix althrd_sleep return valueChris Robinson2014-04-161-3/+9
|
* Avoid using a Sleep() wrapperChris Robinson2014-04-169-21/+24
|
* Use althrd_yield instead of alsched_yieldChris Robinson2014-04-162-9/+2
|
* Remove the old thread wrappers for the new onesChris Robinson2014-04-1610-221/+97
|
* Move the threads and mutex wrappers to threads.cChris Robinson2014-04-162-256/+255
|
* Fix Windows' almtx_timedlockChris Robinson2014-04-161-6/+6
|
* Implement a C11-like thread wrapper and use it in mmdevapi and pulseaudioChris Robinson2014-04-164-34/+250
|
* Use a C11-like mutex wrapper instead of CRITICAL_SECTIONsChris Robinson2014-04-167-55/+215
|
* Avoid memory leak if preset ID lookup failsChris Robinson2014-04-141-0/+1
|
* Ensure VECTOR_ITER_BEGIN gives a pointer-to-type instead of an array-of-typeChris Robinson2014-04-141-1/+1
|
* Use a helper to detect a path slash on WindowsChris Robinson2014-04-131-2/+5
|
* Use VECTOR_INSERT to copy and append stringsChris Robinson2014-04-131-12/+8
|
* Add a GCC-specific VECTOR_INSERTChris Robinson2014-04-131-0/+12
| | | | | | This version is capable of doing a compile-time type checks, to ensure the objects being inserted are compatible with the vector data type. It should otherwise be functionally identical.
* Pass in the vector insertion point as a pointerChris Robinson2014-04-132-3/+5
|
* Avoid referencing the start iterator twice for vector insertionChris Robinson2014-04-132-4/+5
|
* Insert all new effect slots into the active effect slots at onceChris Robinson2014-04-101-26/+27
|
* Add a VECTOR_INSERT method to insert a range of elements at onceChris Robinson2014-04-093-10/+29
|
* Fix a NULL deref when cloning a 0-sized vectorChris Robinson2014-04-091-6/+11
|
* Silence an MSVC warning about -1uChris Robinson2014-04-071-4/+4
|