Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Simplify some move assignments | Chris Robinson | 2022-03-25 | 2 | -8/+6 |
| | |||||
* | Protect intrusive_ptr and ComPtr from moving to itself | Chris Robinson | 2022-03-25 | 2 | -20/+20 |
| | |||||
* | Try to improve assume_aligned for other compilers | Chris Robinson | 2022-03-25 | 1 | -2/+35 |
| | |||||
* | Simplify a couple offsetof statements | Chris Robinson | 2022-03-24 | 1 | -10/+4 |
| | |||||
* | Forward the (un)likely expression being cast to bool | Chris Robinson | 2022-02-24 | 1 | -4/+7 |
| | |||||
* | Make some structs nested | Chris Robinson | 2022-02-23 | 2 | -13/+13 |
| | |||||
* | Remove unused atomic_invflag | Chris Robinson | 2022-02-23 | 1 | -19/+0 |
| | |||||
* | Use function overloading to handle pthread_setname_np differences | Chris Robinson | 2022-02-23 | 1 | -13/+26 |
| | |||||
* | Default initialize a union | Chris Robinson | 2022-02-23 | 1 | -2/+2 |
| | | | | To silence an errant GCC warning | ||||
* | Make some local constexpr variables static | Chris Robinson | 2022-02-23 | 1 | -4/+4 |
| | |||||
* | Avoid an implicit char-to-bool conversion | Chris Robinson | 2022-02-23 | 1 | -5/+5 |
| | |||||
* | Avoid using an if_constexpr macro | Chris Robinson | 2022-02-22 | 2 | -19/+11 |
| | | | | | It doesn't actually use if constexpr, and compilers are smart enough to optimize. Some functions can use templates instead. | ||||
* | Rename some variables to show the relevant bit pattern | Chris Robinson | 2022-02-22 | 1 | -9/+9 |
| | |||||
* | Make a couple more operator bools explicit | Chris Robinson | 2022-02-20 | 3 | -6/+12 |
| | |||||
* | Fix gain_to_level_mb | Chris Robinson | 2022-02-20 | 1 | -1/+1 |
| | |||||
* | Don't implicitly convert optionals to bools | Chris Robinson | 2022-02-14 | 1 | -1/+1 |
| | |||||
* | Remove an unnecessary template parameter hack | Chris Robinson | 2022-02-14 | 1 | -1/+1 |
| | |||||
* | Inherit the atomic_flag constructors in atomic_invflag | Chris Robinson | 2022-02-06 | 1 | -3/+1 |
| | |||||
* | Move ALSOFT_EAX definition to config.h | Chris Robinson | 2022-01-30 | 1 | -33/+13 |
| | | | | And disable it by default for non-Windows targets | ||||
* | Simplify FFT complex arg handling a bit | Chris Robinson | 2022-01-30 | 1 | -2/+4 |
| | |||||
* | Add EAX extensions (EAX 2.0-5.0, X-RAM) (#632) | Boris I. Bendovsky | 2022-01-30 | 1 | -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.h | Chris Robinson | 2022-01-27 | 1 | -7/+0 |
| | |||||
* | Get rid of MathDefs | Chris Robinson | 2022-01-27 | 3 | -25/+10 |
| | |||||
* | Start and use a standard-like numbers header | Chris Robinson | 2022-01-27 | 2 | -2/+34 |
| | |||||
* | Use precalculated lookup tables to swap FFT elements | Chris Robinson | 2022-01-27 | 1 | -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 overloads | Chris Robinson | 2022-01-04 | 1 | -9/+1 |
| | |||||
* | Avoid duplicate definitions of the same wrapper functions | Chris Robinson | 2022-01-04 | 1 | -74/+41 |
| | |||||
* | Add a couple more methods to al::optional | Chris Robinson | 2021-12-31 | 1 | -0/+16 |
| | |||||
* | Simplify and combine a couple macros | Chris Robinson | 2021-12-18 | 1 | -8/+8 |
| | |||||
* | Workaround a GCC bug with noexcept(this->...) | Chris Robinson | 2021-11-14 | 1 | -18/+25 |
| | |||||
* | Fix up some al::optional ops | Chris Robinson | 2021-11-08 | 1 | -6/+32 |
| | |||||
* | Make al::optional constexpr | Chris Robinson | 2021-11-07 | 1 | -80/+80 |
| | |||||
* | Remove an unnecessary noexcept | Chris Robinson | 2021-10-23 | 1 | -7/+4 |
| | |||||
* | Add more noexcept | Chris Robinson | 2021-10-14 | 1 | -8/+8 |
| | |||||
* | Properly noexcept the destroy methods | Chris Robinson | 2021-10-14 | 1 | -5/+6 |
| | |||||
* | Explicitly declare optional_storage's default constructor | Chris Robinson | 2021-10-10 | 1 | -0/+9 |
| | | | | This should help MSVC | ||||
* | Try again to satisfy MSVC | Chris Robinson | 2021-10-09 | 1 | -12/+12 |
| | |||||
* | Explicitly initialize the first union member | Chris Robinson | 2021-10-09 | 1 | -5/+3 |
| | |||||
* | Add more noexcept when possible | Chris Robinson | 2021-10-09 | 1 | -24/+34 |
| | | | | And try to fix MSVC missing a constructor |