Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handle the listener position separate from the rotation matrix | Chris Robinson | 2021-05-25 | 1 | -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 types | Chris Robinson | 2021-04-24 | 1 | -13/+0 |
| | |||||
* | Make an inverted atomic flag type and use it | Chris Robinson | 2021-04-15 | 1 | -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 header | Chris Robinson | 2021-03-28 | 1 | -0/+347 |
| | |||||
* | Move the ComPtr wrapper to a common header | Chris Robinson | 2021-03-08 | 1 | -0/+70 |
| | |||||
* | Use a fast native type for the backup popcount | Chris Robinson | 2021-03-02 | 1 | -7/+20 |
| | |||||
* | Calculate the square root after checking the limit | Chris Robinson | 2021-01-29 | 1 | -4/+5 |
| | |||||
* | Add a panning "deadzone" for spatialized sources | Chris Robinson | 2021-01-28 | 1 | -2/+3 |
| | | | | It is now the greater of 'epsilon' (1 / 2**23) or ref_distance/1024. | ||||
* | Move al::deque to a common header | Chris Robinson | 2021-01-25 | 1 | -0/+16 |
| | |||||
* | Remove some unnecessary function attributes | Chris Robinson | 2021-01-23 | 1 | -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_alloc | Chris Robinson | 2021-01-22 | 1 | -5/+2 |
| | |||||
* | Fix __cplusplus value check | Chris Robinson | 2021-01-22 | 1 | -1/+1 |
| | |||||
* | Use if constexpr when possible | Chris Robinson | 2021-01-22 | 2 | -2/+9 |
| | |||||
* | Make PopCount and CountTrailingZeros more standard-like | Chris Robinson | 2021-01-22 | 3 | -87/+110 |
| | |||||
* | Use a standard bitset for bitfield flags | Chris Robinson | 2021-01-22 | 1 | -47/+0 |
| | |||||
* | Make the endian test more C++-like | Chris Robinson | 2021-01-21 | 2 | -15/+35 |
| | |||||
* | Remove the invalid noexcept specification | Chris Robinson | 2021-01-08 | 1 | -1/+1 |
| | |||||
* | Ensure the endian test is constexpr | Chris Robinson | 2021-01-06 | 1 | -5/+6 |
| | |||||
* | Make optional trivially destructible if the stored type is | Chris Robinson | 2021-01-02 | 1 | -43/+70 |
| | |||||
* | Fix comment typo | Chris Robinson | 2021-01-01 | 1 | -1/+1 |
| | |||||
* | Don't use templates unnecessarily | Chris Robinson | 2021-01-01 | 1 | -19/+0 |
| | |||||
* | Remove some unnecessary constructors | Chris Robinson | 2020-12-27 | 2 | -25/+12 |
| | |||||
* | Make FlexArray trivially destructible when possible | Chris Robinson | 2020-12-27 | 1 | -42/+89 |
| | |||||
* | Move alexcpt to core | Chris Robinson | 2020-12-24 | 2 | -62/+0 |
| | |||||
* | fast_roundf implementations in asm for ARM64. (#511) | David CARLIER | 2020-12-24 | 1 | -0/+6 |
| | |||||
* | Move the AL error enum out of base_exception | Chris Robinson | 2020-12-17 | 1 | -5/+1 |
| | |||||
* | Avoid using a hidden unnamed template parameter | Chris Robinson | 2020-12-15 | 1 | -2/+4 |
| | |||||
* | Reorder definitions to keep them near each other | Chris Robinson | 2020-12-05 | 1 | -13/+13 |
| | |||||
* | Remove some unnecessary inlines and includes | Chris Robinson | 2020-12-05 | 1 | -8/+6 |
| | |||||
* | Avoid a REQUIRES macro for SFINAE | Chris Robinson | 2020-12-05 | 1 | -31/+34 |
| | |||||
* | Move the ringbuffer to common | Chris Robinson | 2020-12-05 | 2 | -0/+337 |
| | |||||
* | Move lerp/cubic to alnumeric.h | Chris Robinson | 2020-12-04 | 1 | -0/+13 |
| | |||||
* | Add a close method to the win32 ifstream | Chris Robinson | 2020-11-16 | 2 | -5/+12 |
| | |||||
* | Use doubles to calculate the listener matrix translation | Chris Robinson | 2020-11-13 | 1 | -39/+70 |
| | | | | | To help stablize sources near the listener, when away from origin. Also clean up some related methods and move them to more appropriate places. | ||||
* | Avoid bitshifts for loop counting | Chris Robinson | 2020-11-08 | 1 | -11/+21 |
| | |||||
* | Remove a constexpr that needs C++17 | Chris Robinson | 2020-10-23 | 1 | -1/+1 |
| | |||||
* | Don't use a template parameter as a variable | Chris Robinson | 2020-10-23 | 1 | -6/+17 |
| | | | | And try to silence an MSVC warning about a constant overflow. | ||||
* | Some cleanup in alspan.h | Chris Robinson | 2020-10-23 | 1 | -21/+31 |
| | |||||
* | Add some constexpr | Chris Robinson | 2020-10-23 | 1 | -4/+3 |
| | |||||
* | Add some missing constexpr attributes | Chris Robinson | 2020-10-20 | 2 | -4/+4 |
| | |||||
* | Use inline functions for popcnt and ctz instead of macros | Chris Robinson | 2020-10-13 | 1 | -48/+47 |
| | |||||
* | Fix an invalid unicode character in a comment | Chris Robinson | 2020-09-14 | 1 | -1/+1 |
| | |||||
* | Use inline wrappers to clarify forward/inverse FFTs | Chris Robinson | 2020-09-13 | 2 | -5/+18 |
| | |||||
* | Partly simplify FFT bit-reversal | Chris Robinson | 2020-09-13 | 1 | -8/+4 |
| | | | | | | | | | | | This can almost certainly be improved further, as less than half of the indices really need their reversed bit-pattern calculated and elements swapped (any symetrical bit pattern would just swap with itself, and indices whose reversed bit-pattern has already been traversed is already swapped). It may also prove beneficial to provide the base-2 log of the fft buffer size (number of bits to represent the indices), as that could help make the reversal more efficient with a known bit/loop count. | ||||
* | Avoid class templates for the POPCNT64/CTZ64 macros | Chris Robinson | 2020-09-01 | 1 | -15/+16 |
| | |||||
* | Use a separate structure for buffer storage | Chris Robinson | 2020-08-28 | 1 | -0/+1 |
| | |||||
* | Allow intrusive_ptr::reset to take a new pointer | Chris Robinson | 2020-08-24 | 1 | -2/+2 |
| | |||||
* | Ensure enough space is allocated for structs with a FlexArray | Chris Robinson | 2020-08-15 | 1 | -1/+4 |
| | |||||
* | Avoid a zero-length array for the FlexArray definition | Chris Robinson | 2020-08-15 | 1 | -5/+4 |
| | | | | | | Newer GCCs are warning about FlexArray being used at the end of another struct. Though not the most ideal to always allocate space for at least 1 element, actual 0-sized uses are rare and for smaller element types. | ||||
* | Avoid a cmake check for determining the size of long | Chris Robinson | 2020-08-13 | 1 | -7/+19 |
| |