Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add a workaround for compilers without __COUNTER__ | Chris Robinson | 2014-11-07 | 1 | -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.h | Chris Robinson | 2014-10-31 | 1 | -0/+6 | |
| | ||||||
* | Add AL_EXT_BFORMAT to alext.h | Chris Robinson | 2014-09-09 | 1 | -0/+10 | |
| | ||||||
* | Only pass nano seconds to al_nssleep | Chris Robinson | 2014-09-08 | 1 | -1/+1 | |
| | ||||||
* | Allow optional memory ordering to atomic methods | Chris Robinson | 2014-09-07 | 1 | -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-atomic | Chris Robinson | 2014-09-03 | 1 | -41/+23 | |
| | ||||||
* | Update COPYING to the latest ↵ | François Cami | 2014-08-18 | 1 | -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 available | Chris Robinson | 2014-08-16 | 1 | -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 finished | Chris Robinson | 2014-08-12 | 1 | -0/+10 | |
| | ||||||
* | Use an ATOMIC_INIT macro instead of ATOMIC_LOAD_UNSAFE | Chris Robinson | 2014-08-03 | 1 | -19/+5 | |
| | ||||||
* | Use the right type for atomic compare-exchange | Chris Robinson | 2014-08-01 | 1 | -4/+4 | |
| | ||||||
* | Add some casts for inline assembly atomics | Chris Robinson | 2014-08-01 | 1 | -6/+6 | |
| | | | | And remove an unnecessary void cast | |||||
* | Use atomics for the device and context list heads | Chris Robinson | 2014-08-01 | 1 | -12/+12 | |
| | ||||||
* | Remove an unused function | Chris Robinson | 2014-07-31 | 1 | -8/+0 | |
| | ||||||
* | Rename ATOMIC_COMPARE_EXCHANGE to ATOMIC_COMPARE_EXCHANGE_STRONG | Chris Robinson | 2014-07-31 | 1 | -9/+5 | |
| | ||||||
* | Avoid a CPU memory fence, and better order memory barriers to accesses | Chris Robinson | 2014-07-31 | 1 | -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 compilers | Chris Robinson | 2014-07-27 | 1 | -17/+43 | |
| | ||||||
* | Use a full memory barrier for Windows | Chris Robinson | 2014-07-27 | 1 | -2/+2 | |
| | ||||||
* | Explicitly pass the address of atomics and parameters that can be modified | Chris Robinson | 2014-07-26 | 1 | -54/+54 | |
| | ||||||
* | Support C11 atomics | Chris Robinson | 2014-07-23 | 1 | -55/+76 | |
| | ||||||
* | Use generic atomics in more places | Chris Robinson | 2014-07-22 | 1 | -4/+6 | |
| | ||||||
* | Implement RefCount as a generic atomic type | Chris Robinson | 2014-07-22 | 2 | -153/+109 | |
| | ||||||
* | Add macros for generic atomic functionality | Chris Robinson | 2014-07-22 | 1 | -36/+145 | |
| | ||||||
* | AL_SOFT_source_length is complete | Chris Robinson | 2014-07-05 | 1 | -0/+7 | |
| | ||||||
* | AL_SOFT_MSADPCM is functionally complete | Chris Robinson | 2014-07-03 | 1 | -0/+6 | |
| | ||||||
* | Only define struct timespec if _TIMESPEC_DEFINED isn't set | Chris Robinson | 2014-05-31 | 1 | -1/+7 | |
| | | | | This matches what the mingw-w64 headers define with the struct. | |||||
* | Add extern "C" to common headers. | Chris Robinson | 2014-05-29 | 4 | -0/+30 | |
| | ||||||
* | Add methods to exchange and compare-exchange RefCount values | Chris Robinson | 2014-05-27 | 1 | -0/+38 | |
| | ||||||
* | Implement condition variables for Windows | Chris Robinson | 2014-05-27 | 1 | -10/+12 | |
| | ||||||
* | Implement condition variables (POSIX only!) | Chris Robinson | 2014-05-26 | 1 | -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 done | Chris Robinson | 2014-05-22 | 1 | -0/+6 | |
| | ||||||
* | Make RefCount a non-integer type | Chris Robinson | 2014-05-14 | 2 | -22/+38 | |
| | | | | | It should only be accessed through the appropriate functions to ensure proper atomicity. | |||||
* | Always use unsigned int for RefCount | Chris Robinson | 2014-05-07 | 1 | -18/+22 | |
| | ||||||
* | Move RWLock and UIntMap implementations to common | Chris Robinson | 2014-05-07 | 2 | -0/+57 | |
| | | | | This should make the code in common completely self-reliant. | |||||
* | Move the static_assert definition to its own header | Chris Robinson | 2014-05-07 | 2 | -0/+19 | |
| | ||||||
* | Check for C99 _Bool support | Chris Robinson | 2014-05-06 | 1 | -0/+18 | |
| | ||||||
* | Move some headers to include/ | Chris Robinson | 2014-05-06 | 3 | -0/+379 | |
| | | | | Note, these are not installed. Only headers in include/AL/ are installed. | |||||
* | Finalize AL_SOFT_deferred_updates | Chris Robinson | 2013-10-05 | 1 | -0/+11 | |
| | ||||||
* | Add ALC_EXT_DEFAULT_FILTER_ORDER to alext.h | Chris Robinson | 2013-05-31 | 1 | -0/+5 | |
| | ||||||
* | Finalize AL_SOFT_source_latency | Chris Robinson | 2012-10-31 | 1 | -0/+46 | |
| | ||||||
* | Clarify some comments, fix some definition ordering, and add some includes | Chris Robinson | 2012-06-15 | 4 | -11/+18 | |
| | ||||||
* | Add AL_EXT_SOURCE_RADIUS to alext.h | Chris Robinson | 2012-04-26 | 1 | -0/+5 | |
| | ||||||
* | Add AL_EXT_STEREO_ANGLES to alext.h | Chris Robinson | 2012-04-26 | 1 | -0/+5 | |
| | ||||||
* | Fix compiling al.h with C++ | Chris Robinson | 2012-04-24 | 1 | -1/+1 | |
| | ||||||
* | Reformat alc/h and al.h, and redo the comments | Chris Robinson | 2012-04-21 | 2 | -666/+574 | |
| | ||||||
* | Remove export pragmas from headers | Chris Robinson | 2012-04-20 | 2 | -14/+0 | |
| | | | | | Available information suggests it's only useful for Mac OS9 and earlier (not OSX). | |||||
* | Finalize ALC_SOFT_loopback | Chris Robinson | 2012-03-15 | 1 | -0/+32 | |
| | ||||||
* | Finalize AL_SOFT_direct_channels | Chris Robinson | 2012-03-12 | 1 | -0/+5 | |
| | ||||||
* | Fix typo in the "CarpetedHallway" reverb preset | Chris Robinson | 2012-02-01 | 1 | -1/+1 | |
| | ||||||
* | Make the EFX preset values explicit floats | Chris Robinson | 2012-01-31 | 1 | -113/+113 | |
| |