aboutsummaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed bug and possible overflow type (#771)Herman Semenov2022-09-231-1/+1
|
* Use ifstream's wchar_t constructors on WindowsChris Robinson2022-09-122-172/+19
| | | | MinGW seems to have added them a while ago, so that greatly simplifies things.
* Recognize void(pthread_t,const char*)Chris Robinson2022-09-091-1/+6
|
* Use a bind statement instead of a lambdaChris Robinson2022-08-291-2/+4
|
* Avoid __try on ARMv7 targets with MSVCChris Robinson2022-07-241-1/+4
|
* Make some Vector and Matrix methods constexprChris Robinson2022-07-051-29/+22
|
* Added missing header file for std::assume_aligned. (C++20) (#724)Hongtae Kim2022-07-051-1/+1
|
* Check the container type given to DEF_NEWDEL and DEF_FAM_NEWDELChris Robinson2022-05-161-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 analysisChris Robinson2022-05-131-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 macrosChris Robinson2022-04-261-0/+1
|
* Use bool() instead of bool{} to castChris Robinson2022-04-251-2/+2
| | | | To work around a MinGW GCC 5 issue.
* Rename lerp to avoid conflicts with C++20's std::lerpChris Robinson2022-04-061-1/+1
|
* Simplify al::byteChris Robinson2022-03-301-51/+1
| | | | | It's just an alias for unsigned char now, and no longer strongly-typed like std::byte.
* Add missing includeChris Robinson2022-03-301-0/+1
|
* Move assume_aligned to opthelpers.h and define force_inlineChris Robinson2022-03-302-40/+38
|
* Slightly improve code flow for ASSUMEChris Robinson2022-03-291-1/+1
|
* constexpr functions are not allowed to have static variables, and if they ↵Glyn Leine2022-03-291-4/+4
| | | | are constexpr anyways then them being static has no benifit (#677)
* Avoid a variable to subscript an array in offsetofChris Robinson2022-03-261-2/+8
|
* Simplify some move assignmentsChris Robinson2022-03-252-8/+6
|
* Protect intrusive_ptr and ComPtr from moving to itselfChris Robinson2022-03-252-20/+20
|
* Try to improve assume_aligned for other compilersChris Robinson2022-03-251-2/+35
|
* Simplify a couple offsetof statementsChris Robinson2022-03-241-10/+4
|
* Forward the (un)likely expression being cast to boolChris Robinson2022-02-241-4/+7
|
* Make some structs nestedChris Robinson2022-02-232-13/+13
|
* Remove unused atomic_invflagChris Robinson2022-02-231-19/+0
|
* Use function overloading to handle pthread_setname_np differencesChris Robinson2022-02-231-13/+26
|
* Default initialize a unionChris Robinson2022-02-231-2/+2
| | | | To silence an errant GCC warning
* Make some local constexpr variables staticChris Robinson2022-02-231-4/+4
|
* Avoid an implicit char-to-bool conversionChris Robinson2022-02-231-5/+5
|
* Avoid using an if_constexpr macroChris Robinson2022-02-222-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 patternChris Robinson2022-02-221-9/+9
|
* Make a couple more operator bools explicitChris Robinson2022-02-203-6/+12
|
* Fix gain_to_level_mbChris Robinson2022-02-201-1/+1
|
* Don't implicitly convert optionals to boolsChris Robinson2022-02-141-1/+1
|
* Remove an unnecessary template parameter hackChris Robinson2022-02-141-1/+1
|
* 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
|