aboutsummaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
* Ensure enough space is allocated for structs with a FlexArrayChris Robinson2020-08-151-1/+4
|
* Avoid a zero-length array for the FlexArray definitionChris Robinson2020-08-151-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 longChris Robinson2020-08-131-7/+19
|
* Improve handling main() with UTF-8 args on WindowsChris Robinson2020-08-121-36/+56
|
* Make osme things constexprChris Robinson2020-08-101-17/+15
|
* Fix DIAGNOSTIC_POP for GCC and ClangChris Robinson2020-08-061-1/+1
|
* Don't include headers in a namespace definitionChris Robinson2020-07-231-4/+8
|
* Avoid including windows.h in threads.hChris Robinson2020-06-282-9/+9
|
* Workaround a MinGW quirkChris Robinson2020-06-261-0/+1
| | | | | Sometimes MinGW defines strncasecmp to _strnicmp in string.h, which can cause problems with al::strncasecmp if it's not consistently replaced.
* Simplify the aligned over-allocation strategyChris Robinson2020-06-071-15/+14
|
* Avoid explicit checks for _BitScanForward[64]Chris Robinson2020-06-071-9/+10
|
* Use an enum for FamCountChris Robinson2020-05-191-3/+3
|
* Check that aligned_alloc is available with cmakeChris Robinson2020-05-191-2/+2
| | | | | | | | Some compilers support C++17 even on targets that lack required functions. Projects that want to force C++17 will then run into a problem with std::aligned_alloc not existing on those targets, so it needs to be explicitly checked for. The alternative is to simply never use it even when it would be available.
* Fix some standard callsChris Robinson2020-05-161-9/+7
|
* Move the bsinc tables out of commonChris Robinson2020-05-113-373/+0
|
* Revert "Fix the FFT half point for the shifter effects"Chris Robinson2020-05-091-1/+1
| | | | This reverts commit 12bb5a47cda0ef6ec1ced73ccf5d267a71f9e710.
* Fix the FFT half point for the shifter effectsChris Robinson2020-05-081-1/+1
|
* Fix subspan extent calculationChris Robinson2020-04-281-1/+1
|
* Silence a type conversion warning with GCCChris Robinson2020-04-141-2/+3
|
* Avoid inlining some potentially costly callsChris Robinson2020-04-142-0/+4
|
* Use a common base for a couple exceptionsChris Robinson2020-04-102-14/+10
|
* Apply some alloc and alignment attributesChris Robinson2020-04-101-16/+4
|
* Make a default/empty constructor noexceptChris Robinson2020-04-091-1/+1
|
* Use a unique_ptr for constructing the bsinc table coefficientsChris Robinson2020-04-071-25/+22
|
* Dynamically allocate the temporary bsinc filter tableChris Robinson2020-04-061-2/+7
|
* Pass the BSincHeader by reference instead of valueChris Robinson2020-04-051-2/+2
|
* Avoid storing the bsinc coefficient deltas before outputChris Robinson2020-04-041-48/+49
| | | | This cuts the majority of stack use when generating the coefficients.
* Fix bsinc filter alignment and offsetsChris Robinson2020-04-021-3/+3
|
* Avoid std::abs in a constexpr functionChris Robinson2020-04-021-1/+1
|
* Generate the bsinc tables using constexpr methodsChris Robinson2020-04-023-0/+370
| | | | | | | | All the methods used should be compliant with C++14 constexpr rules. However, the number of scales and phases cause GenerateBSincCoeffs to reach the allowed step limit, preventing full compile-time generation. It's not a terribly big deal, it'll generate them very quickly when loading, but it does prevent using shared read-only memory pages.
* Avoid using M_PIChris Robinson2020-04-012-16/+9
|
* Avoid non-namespace template specializationChris Robinson2020-03-241-7/+11
|
* Remove some unused functionsChris Robinson2020-03-231-64/+3
|
* Add a macro to disable class-specific new/deleteChris Robinson2020-03-231-0/+6
|
* Avoid ## in a macroChris Robinson2020-03-231-6/+6
| | | | Cppcheck thinks it's an invalid use of it
* Use more appropriate types for bitfieldsChris Robinson2020-03-221-4/+10
|
* Clean up some C++11-ismsChris Robinson2020-03-223-13/+10
|
* Properly define the new[] and delete[] operatorsChris Robinson2020-03-221-3/+10
|
* Avoid some pre-C++14 workaroundsChris Robinson2020-03-221-8/+0
|
* Fix some 'ambiguous' calls for newer MSVCChris Robinson2020-01-061-6/+6
|
* Ensure a pointer is provided for a templated iterator typeChris Robinson2020-01-051-2/+2
|
* Fix reverse iterators for spansChris Robinson2019-12-251-8/+8
|
* Avoid extraneous loopingChris Robinson2019-11-291-17/+30
|
* Move the polyphase resampler to the common libChris Robinson2019-11-282-0/+259
|
* Avoid an extraneous macro and use a simplified type aliasChris Robinson2019-10-271-4/+4
|
* Avoid static constexpr for arrays iterated over at run-timeChris Robinson2019-10-251-1/+1
|
* Put the pragma defines in a separate headerChris Robinson2019-10-072-19/+25
|
* Don't inline the utf8 convertersChris Robinson2019-10-013-35/+41
|
* Add some allocator fields GCC 6.3 seems to wantChris Robinson2019-10-011-0/+6
|
* Use using to avoid extraneous template instantiationsChris Robinson2019-09-291-2/+2
|