aboutsummaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
* Inherit the atomic_flag constructors in atomic_invflagChris Robinson2022-02-061-3/+1
|
* Move ALSOFT_EAX definition to config.hChris Robinson2022-01-301-33/+13
| | | | And disable it by default for non-Windows targets
* Simplify FFT complex arg handling a bitChris Robinson2022-01-301-2/+4
|
* Add EAX extensions (EAX 2.0-5.0, X-RAM) (#632)Boris I. Bendovsky2022-01-301-0/+45
| | | | | | | | | | | | | | | * Add EAX extensions (EAX 2.0-5.0, X-RAM) * Comment out C++17 leftovers * Remove everything related to patching * Update alsoftrc.sample * Rewrite integration * Fix GCC compilation under Linux * Always reset EAX effect properties when loading it into FX slot
* Remove math_defs.hChris Robinson2022-01-271-7/+0
|
* Get rid of MathDefsChris Robinson2022-01-273-25/+10
|
* Start and use a standard-like numbers headerChris Robinson2022-01-272-2/+34
|
* Use precalculated lookup tables to swap FFT elementsChris Robinson2022-01-271-7/+91
| | | | | Rather than going through the whole array, calculating the bit-reversed index of each element, and not doing anything for more than half of them.
* Remove a couple unnecessary overloadsChris Robinson2022-01-041-9/+1
|
* Avoid duplicate definitions of the same wrapper functionsChris Robinson2022-01-041-74/+41
|
* Add a couple more methods to al::optionalChris Robinson2021-12-311-0/+16
|
* Simplify and combine a couple macrosChris Robinson2021-12-181-8/+8
|
* Workaround a GCC bug with noexcept(this->...)Chris Robinson2021-11-141-18/+25
|
* Fix up some al::optional opsChris Robinson2021-11-081-6/+32
|
* Make al::optional constexprChris Robinson2021-11-071-80/+80
|
* Remove an unnecessary noexceptChris Robinson2021-10-231-7/+4
|
* Add more noexceptChris Robinson2021-10-141-8/+8
|
* Properly noexcept the destroy methodsChris Robinson2021-10-141-5/+6
|
* Explicitly declare optional_storage's default constructorChris Robinson2021-10-101-0/+9
| | | | This should help MSVC
* Try again to satisfy MSVCChris Robinson2021-10-091-12/+12
|
* Explicitly initialize the first union memberChris Robinson2021-10-091-5/+3
|
* Add more noexcept when possibleChris Robinson2021-10-091-24/+34
| | | | And try to fix MSVC missing a constructor
* Always define optional::operator=.Chris Robinson2021-10-091-4/+2
| | | | MSVC doesn't seem to like using enable_if for special member functions.
* Make optional more trivial when possibleChris Robinson2021-10-081-49/+177
|
* Make a construct_at method amd use itChris Robinson2021-10-082-3/+8
|
* Add the gnu::malloc attribute to al_malloc and al_callocChris Robinson2021-10-071-2/+4
| | | | | | This helps the compiler know the returned pointer won't alias another pointer or existing object, since it's a fresh allocation, and is unlikely to return nullptr.
* Make simpler likely/unlikely functions and use them in some placesChris Robinson2021-10-031-0/+4
|
* Add PipeWire capture supportChris Robinson2021-08-211-0/+2
|
* Fix al::optional operator*Chris Robinson2021-07-311-1/+1
|
* Handle the listener position separate from the rotation matrixChris Robinson2021-05-251-0/+7
| | | | | | It's too unstable with larger vectors. Even when the source and listener positions are the same, floating point precision can cause noticeable rounding errors.
* Don't bother with al string typesChris Robinson2021-04-241-13/+0
|
* Make an inverted atomic flag type and use itChris Robinson2021-04-151-0/+21
| | | | | | | | The inverted atomic flag replaces test_and_set+clear with test_and_clear+set, essentially inverting the flag status. This makes more logical sense for flagging dirty state, which is less confusing than flagging clean state. The one caveat is ATOMIC_FLAG_INIT (or default construction in C++20) initializes the state to true rather than false.
* Move the UHJ phase shifter to a common headerChris Robinson2021-03-281-0/+347
|
* Move the ComPtr wrapper to a common headerChris Robinson2021-03-081-0/+70
|
* Use a fast native type for the backup popcountChris Robinson2021-03-021-7/+20
|
* Calculate the square root after checking the limitChris Robinson2021-01-291-4/+5
|
* Add a panning "deadzone" for spatialized sourcesChris Robinson2021-01-281-2/+3
| | | | It is now the greater of 'epsilon' (1 / 2**23) or ref_distance/1024.
* Move al::deque to a common headerChris Robinson2021-01-251-0/+16
|
* Remove some unnecessary function attributesChris Robinson2021-01-231-4/+4
| | | | | | | | The alloc_size was wrong anyway since the function parameter takes the number of objects to be allocated and the attribute declares which is the number of bytes. The assume_aligned is unnecessary since the function is inlined and al_malloc/al_calloc already have appropriate attributes for the compiler to see.
* Don't bother checking for std::aligned_allocChris Robinson2021-01-221-5/+2
|
* Fix __cplusplus value checkChris Robinson2021-01-221-1/+1
|
* Use if constexpr when possibleChris Robinson2021-01-222-2/+9
|
* Make PopCount and CountTrailingZeros more standard-likeChris Robinson2021-01-223-87/+110
|
* Use a standard bitset for bitfield flagsChris Robinson2021-01-221-47/+0
|
* Make the endian test more C++-likeChris Robinson2021-01-212-15/+35
|
* Remove the invalid noexcept specificationChris Robinson2021-01-081-1/+1
|
* Ensure the endian test is constexprChris Robinson2021-01-061-5/+6
|
* Make optional trivially destructible if the stored type isChris Robinson2021-01-021-43/+70
|
* Fix comment typoChris Robinson2021-01-011-1/+1
|
* Don't use templates unnecessarilyChris Robinson2021-01-011-19/+0
|