aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Fix static_assert when __COUNTER__ isn't availableChris Robinson2015-03-021-1/+3
|
* Remove some IN_IDE_PARSER usesChris Robinson2014-12-241-3/+3
|
* Add a workaround for compilers without __COUNTER__Chris Robinson2014-11-071-1/+3
| | | | | | This can make GCC pretty noisey, complaining "declaration does not declare anything" for each static_assert, but it should still function on such older compilers.
* Add AL_EXT_MULAW_BFORMAT to alext.hChris Robinson2014-10-311-0/+6
|
* Add AL_EXT_BFORMAT to alext.hChris Robinson2014-09-091-0/+10
|
* Only pass nano seconds to al_nssleepChris Robinson2014-09-081-1/+1
|
* Allow optional memory ordering to atomic methodsChris Robinson2014-09-071-42/+81
| | | | | Currently only C11 atomics make use of the memory order. If not specified, it defaults to almemory_order_seq_cst.
* Make ExchangeInt and ExchangePtr non-atomicChris Robinson2014-09-031-41/+23
|
* Update COPYING to the latest ↵François Cami2014-08-181-2/+2
| | | | https://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt to fix the FSF' address Fix the FSF' address in the source
* Don't try to include stdalign.h if C11 _Alignas isn't availableChris Robinson2014-08-161-1/+1
| | | | | | Some compilers will allow including stdalign.h, and even define alignas to _Alignas, even if that C11 feature is unavailable (e.g. because it requires a suitable -std= setting).
* ALC_SOFT_pause_device is finishedChris Robinson2014-08-121-0/+10
|
* Use an ATOMIC_INIT macro instead of ATOMIC_LOAD_UNSAFEChris Robinson2014-08-031-19/+5
|
* Use the right type for atomic compare-exchangeChris Robinson2014-08-011-4/+4
|
* Add some casts for inline assembly atomicsChris Robinson2014-08-011-6/+6
| | | | And remove an unnecessary void cast
* Use atomics for the device and context list headsChris Robinson2014-08-011-12/+12
|
* Remove an unused functionChris Robinson2014-07-311-8/+0
|
* Rename ATOMIC_COMPARE_EXCHANGE to ATOMIC_COMPARE_EXCHANGE_STRONGChris Robinson2014-07-311-9/+5
|
* Avoid a CPU memory fence, and better order memory barriers to accessesChris Robinson2014-07-311-13/+32
| | | | | | Code produced by GCC 4.9's C11 atomic implementation does not seem to add a CPU memory fence even with memory_order_seq_cst. Unnecessary memory fences will be a detriment to performance, so they should only be added if needed.
* Change Windows-based atomics for non-C99 compilersChris Robinson2014-07-271-17/+43
|
* Use a full memory barrier for WindowsChris Robinson2014-07-271-2/+2
|
* Explicitly pass the address of atomics and parameters that can be modifiedChris Robinson2014-07-261-54/+54
|
* Support C11 atomicsChris Robinson2014-07-231-55/+76
|
* Use generic atomics in more placesChris Robinson2014-07-221-4/+6
|
* Implement RefCount as a generic atomic typeChris Robinson2014-07-222-153/+109
|
* Add macros for generic atomic functionalityChris Robinson2014-07-221-36/+145
|
* AL_SOFT_source_length is completeChris Robinson2014-07-051-0/+7
|
* AL_SOFT_MSADPCM is functionally completeChris Robinson2014-07-031-0/+6
|
* Only define struct timespec if _TIMESPEC_DEFINED isn't setChris Robinson2014-05-311-1/+7
| | | | This matches what the mingw-w64 headers define with the struct.
* Add extern "C" to common headers.Chris Robinson2014-05-294-0/+30
|
* Add methods to exchange and compare-exchange RefCount valuesChris Robinson2014-05-271-0/+38
|
* Implement condition variables for WindowsChris Robinson2014-05-271-10/+12
|
* Implement condition variables (POSIX only!)Chris Robinson2014-05-261-0/+11
| | | | | Windows requires Vista or newer to get the CONDITION_VARIABNLE API, but we currently only require XP.
* AL_SOFT_block_alignment is now considered doneChris Robinson2014-05-221-0/+6
|
* Make RefCount a non-integer typeChris Robinson2014-05-142-22/+38
| | | | | It should only be accessed through the appropriate functions to ensure proper atomicity.
* Always use unsigned int for RefCountChris Robinson2014-05-071-18/+22
|
* Move RWLock and UIntMap implementations to commonChris Robinson2014-05-072-0/+57
| | | | This should make the code in common completely self-reliant.
* Move the static_assert definition to its own headerChris Robinson2014-05-072-0/+19
|
* Check for C99 _Bool supportChris Robinson2014-05-061-0/+18
|
* Move some headers to include/Chris Robinson2014-05-063-0/+379
| | | | Note, these are not installed. Only headers in include/AL/ are installed.
* Finalize AL_SOFT_deferred_updatesChris Robinson2013-10-051-0/+11
|
* Add ALC_EXT_DEFAULT_FILTER_ORDER to alext.hChris Robinson2013-05-311-0/+5
|
* Finalize AL_SOFT_source_latencyChris Robinson2012-10-311-0/+46
|
* Clarify some comments, fix some definition ordering, and add some includesChris Robinson2012-06-154-11/+18
|
* Add AL_EXT_SOURCE_RADIUS to alext.hChris Robinson2012-04-261-0/+5
|
* Add AL_EXT_STEREO_ANGLES to alext.hChris Robinson2012-04-261-0/+5
|
* Fix compiling al.h with C++Chris Robinson2012-04-241-1/+1
|
* Reformat alc/h and al.h, and redo the commentsChris Robinson2012-04-212-666/+574
|
* Remove export pragmas from headersChris Robinson2012-04-202-14/+0
| | | | | Available information suggests it's only useful for Mac OS9 and earlier (not OSX).
* Finalize ALC_SOFT_loopbackChris Robinson2012-03-151-0/+32
|
* Finalize AL_SOFT_direct_channelsChris Robinson2012-03-121-0/+5
|