Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use a macro for when __has_cpp_attribute is unsupported | Chris Robinson | 2023-03-10 | 1 | -4/+10 |
| | | | | And the standard macro is __has_cpp_attribute, not __has_attribute. | ||||
* | Use macros for the likely/unlikely attributes | Chris Robinson | 2023-03-01 | 6 | -17/+28 |
| | | | | | The syntax parser for GCC 8 (and earlier?) fails when these attributes are in certain places. | ||||
* | Remove a [[likely]] that confuses some versions of GCC | Chris Robinson | 2023-02-28 | 1 | -1/+1 |
| | |||||
* | Support IMA4 ADPCM as a mixing voice format | Chris Robinson | 2023-02-14 | 3 | -13/+30 |
| | |||||
* | Avoid using auto for lambda parameters | Chris Robinson | 2023-02-06 | 1 | -1/+1 |
| | |||||
* | Don't try to use std::pointer_traits::to_address | Chris Robinson | 2023-01-30 | 1 | -21/+2 |
| | |||||
* | Try to fix has_to_address | Chris Robinson | 2023-01-30 | 1 | -3/+7 |
| | |||||
* | Don't pass an unnecessarily large alignment to allocator::rebind | Chris Robinson | 2023-01-30 | 1 | -2/+4 |
| | |||||
* | Use std::pointer_traits::to_address when available | Chris Robinson | 2023-01-29 | 1 | -1/+16 |
| | |||||
* | Change the IS_VALID_CONTAINER macro to a constexpr bool | Chris Robinson | 2023-01-29 | 1 | -11/+11 |
| | |||||
* | Avoid using to_address on an end iterator | Chris Robinson | 2023-01-29 | 1 | -4/+3 |
| | |||||
* | Precalculate reused scale factors | Chris Robinson | 2023-01-15 | 1 | -1/+1 |
| | |||||
* | clang-tidy cleanups (#800) | Rosen Penev | 2023-01-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * clang-tidy: use bool literals Found with modernize-use-bool-literals Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: replace std::bind with lambdas Found with modernize-avoid-bind Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: use data() instead of pointer stuff Found with readability-container-data-pointe Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: use empty() Found with readability-container-size-empty Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: remove static in anon namespace Found with readability-static-definition-in-anonymous-namespace Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: remove const return Found with readability-const-return-type Signed-off-by: Rosen Penev <[email protected]> Signed-off-by: Rosen Penev <[email protected]> | ||||
* | Ensure the mixer helpers are properly inlined | Chris Robinson | 2023-01-13 | 1 | -1/+1 |
| | |||||
* | Avoid unnecessary uses of make_optional | Chris Robinson | 2023-01-13 | 1 | -2/+2 |
| | |||||
* | Simplify void_t | Chris Robinson | 2023-01-08 | 1 | -3/+1 |
| | |||||
* | Handle UHJ better with convolution reverb | Chris Robinson | 2023-01-01 | 1 | -0/+2 |
| | | | | | | It's now decoded to B-Format while being FFT'd, and processed as B-Format. Again, not that UHJ should really ever be used for convolution, but it's a valid format someone may want to use despite the overhead from converting it. | ||||
* | Avoid unreachable() in assume_aligned | Chris Robinson | 2022-12-18 | 1 | -4/+6 |
| | | | | | Another test to attempt to workaround MSVC build problems. Also, don't assume bit-wise value alignment for pointers as a default fallback. | ||||
* | Revert "Change the order of compiler checks in assume_aligned" | Chris Robinson | 2022-12-18 | 1 | -7/+5 |
| | | | | This reverts commit 14d7809a89ea51ca663a7ebf09e7bc135b904d5d. | ||||
* | Change the order of compiler checks in assume_aligned | Chris Robinson | 2022-12-18 | 1 | -5/+7 |
| | | | | Testing to see if this works around issues with MSVC builds | ||||
* | Better handle span sources from iterators | Chris Robinson | 2022-12-14 | 4 | -26/+73 |
| | |||||
* | Avoid manually specifying FFT template parameters | Chris Robinson | 2022-12-14 | 3 | -19/+40 |
| | |||||
* | Implement an al::unreachable wrapper/helper | Chris Robinson | 2022-12-13 | 1 | -8/+19 |
| | |||||
* | Rename a potentially confusing member function | Chris Robinson | 2022-12-08 | 1 | -6/+6 |
| | |||||
* | Avoid using a macro to wrap standard attributes | Chris Robinson | 2022-12-06 | 6 | -26/+18 |
| | |||||
* | Avoid LIKELY/UNLIKELY macros | Chris Robinson | 2022-12-05 | 1 | -6/+4 |
| | |||||
* | Avoid some uses of the LIKELY/UNLIKELY macros | Chris Robinson | 2022-12-05 | 2 | -6/+6 |
| | |||||
* | Use standard likely/unlikely attributes when available | Chris Robinson | 2022-12-05 | 5 | -38/+24 |
| | |||||
* | Use complex floats for convolution reverb FFTs | Chris Robinson | 2022-11-24 | 3 | -13/+26 |
| | |||||
* | Avoid returning an array for constexpr tables | Chris Robinson | 2022-11-24 | 1 | -38/+35 |
| | |||||
* | Avoid a duplicate all-pass function that accumulates | Chris Robinson | 2022-10-22 | 1 | -100/+0 |
| | |||||
* | Avoid another potential overflow | Chris Robinson | 2022-09-23 | 1 | -1/+1 |
| | |||||
* | Fixed bug and possible overflow type (#771) | Herman Semenov | 2022-09-23 | 1 | -1/+1 |
| | |||||
* | Use ifstream's wchar_t constructors on Windows | Chris Robinson | 2022-09-12 | 2 | -172/+19 |
| | | | | MinGW seems to have added them a while ago, so that greatly simplifies things. | ||||
* | Recognize void(pthread_t,const char*) | Chris Robinson | 2022-09-09 | 1 | -1/+6 |
| | |||||
* | Use a bind statement instead of a lambda | Chris Robinson | 2022-08-29 | 1 | -2/+4 |
| | |||||
* | Avoid __try on ARMv7 targets with MSVC | Chris Robinson | 2022-07-24 | 1 | -1/+4 |
| | |||||
* | Make some Vector and Matrix methods constexpr | Chris Robinson | 2022-07-05 | 1 | -29/+22 |
| | |||||
* | Added missing header file for std::assume_aligned. (C++20) (#724) | Hongtae Kim | 2022-07-05 | 1 | -1/+1 |
| | |||||
* | Check the container type given to DEF_NEWDEL and DEF_FAM_NEWDEL | Chris Robinson | 2022-05-16 | 1 | -3/+7 |
| | | | | | | | There's apparently no way to get the containing class/struct type from a static member function, and operator new/delete are implicitly static member functions so the macros to define them need to be told the type to allocate for. This ensures the type specified matches the containing type. | ||||
* | Resample before frequency analysis | Chris Robinson | 2022-05-13 | 1 | -2/+2 |
| | | | | | | | | | | We want to resample before minimum phase reconstruction since that changes the phase relationship of the sampled signal, introducing a slight bit of noise from truncated sampling. It's not clear that the frequency domain resampling method is accurate, so resampling prior to frequency analysis is an alternative to ensure the resulting frequencies are given the proper phase for sampling. This also cleans up some micro allocations in loops. | ||||
* | Workaround a MinGW issue with str(n)casecmp macros | Chris Robinson | 2022-04-26 | 1 | -0/+1 |
| | |||||
* | Use bool() instead of bool{} to cast | Chris Robinson | 2022-04-25 | 1 | -2/+2 |
| | | | | To work around a MinGW GCC 5 issue. | ||||
* | Rename lerp to avoid conflicts with C++20's std::lerp | Chris Robinson | 2022-04-06 | 1 | -1/+1 |
| | |||||
* | Simplify al::byte | Chris Robinson | 2022-03-30 | 1 | -51/+1 |
| | | | | | It's just an alias for unsigned char now, and no longer strongly-typed like std::byte. | ||||
* | Add missing include | Chris Robinson | 2022-03-30 | 1 | -0/+1 |
| | |||||
* | Move assume_aligned to opthelpers.h and define force_inline | Chris Robinson | 2022-03-30 | 2 | -40/+38 |
| | |||||
* | Slightly improve code flow for ASSUME | Chris Robinson | 2022-03-29 | 1 | -1/+1 |
| | |||||
* | constexpr functions are not allowed to have static variables, and if they ↵ | Glyn Leine | 2022-03-29 | 1 | -4/+4 |
| | | | | are constexpr anyways then them being static has no benifit (#677) | ||||
* | Avoid a variable to subscript an array in offsetof | Chris Robinson | 2022-03-26 | 1 | -2/+8 |
| |