Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Improve handling main() with UTF-8 args on Windows | Chris Robinson | 2020-08-12 | 1 | -36/+56 |
| | |||||
* | Make osme things constexpr | Chris Robinson | 2020-08-10 | 1 | -17/+15 |
| | |||||
* | Fix DIAGNOSTIC_POP for GCC and Clang | Chris Robinson | 2020-08-06 | 1 | -1/+1 |
| | |||||
* | Don't include headers in a namespace definition | Chris Robinson | 2020-07-23 | 1 | -4/+8 |
| | |||||
* | Avoid including windows.h in threads.h | Chris Robinson | 2020-06-28 | 2 | -9/+9 |
| | |||||
* | Workaround a MinGW quirk | Chris Robinson | 2020-06-26 | 1 | -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 strategy | Chris Robinson | 2020-06-07 | 1 | -15/+14 |
| | |||||
* | Avoid explicit checks for _BitScanForward[64] | Chris Robinson | 2020-06-07 | 1 | -9/+10 |
| | |||||
* | Use an enum for FamCount | Chris Robinson | 2020-05-19 | 1 | -3/+3 |
| | |||||
* | Check that aligned_alloc is available with cmake | Chris Robinson | 2020-05-19 | 1 | -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 calls | Chris Robinson | 2020-05-16 | 1 | -9/+7 |
| | |||||
* | Move the bsinc tables out of common | Chris Robinson | 2020-05-11 | 3 | -373/+0 |
| | |||||
* | Revert "Fix the FFT half point for the shifter effects" | Chris Robinson | 2020-05-09 | 1 | -1/+1 |
| | | | | This reverts commit 12bb5a47cda0ef6ec1ced73ccf5d267a71f9e710. | ||||
* | Fix the FFT half point for the shifter effects | Chris Robinson | 2020-05-08 | 1 | -1/+1 |
| | |||||
* | Fix subspan extent calculation | Chris Robinson | 2020-04-28 | 1 | -1/+1 |
| | |||||
* | Silence a type conversion warning with GCC | Chris Robinson | 2020-04-14 | 1 | -2/+3 |
| | |||||
* | Avoid inlining some potentially costly calls | Chris Robinson | 2020-04-14 | 2 | -0/+4 |
| | |||||
* | Use a common base for a couple exceptions | Chris Robinson | 2020-04-10 | 2 | -14/+10 |
| | |||||
* | Apply some alloc and alignment attributes | Chris Robinson | 2020-04-10 | 1 | -16/+4 |
| | |||||
* | Make a default/empty constructor noexcept | Chris Robinson | 2020-04-09 | 1 | -1/+1 |
| | |||||
* | Use a unique_ptr for constructing the bsinc table coefficients | Chris Robinson | 2020-04-07 | 1 | -25/+22 |
| | |||||
* | Dynamically allocate the temporary bsinc filter table | Chris Robinson | 2020-04-06 | 1 | -2/+7 |
| | |||||
* | Pass the BSincHeader by reference instead of value | Chris Robinson | 2020-04-05 | 1 | -2/+2 |
| | |||||
* | Avoid storing the bsinc coefficient deltas before output | Chris Robinson | 2020-04-04 | 1 | -48/+49 |
| | | | | This cuts the majority of stack use when generating the coefficients. | ||||
* | Fix bsinc filter alignment and offsets | Chris Robinson | 2020-04-02 | 1 | -3/+3 |
| | |||||
* | Avoid std::abs in a constexpr function | Chris Robinson | 2020-04-02 | 1 | -1/+1 |
| | |||||
* | Generate the bsinc tables using constexpr methods | Chris Robinson | 2020-04-02 | 3 | -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_PI | Chris Robinson | 2020-04-01 | 2 | -16/+9 |
| | |||||
* | Avoid non-namespace template specialization | Chris Robinson | 2020-03-24 | 1 | -7/+11 |
| | |||||
* | Remove some unused functions | Chris Robinson | 2020-03-23 | 1 | -64/+3 |
| | |||||
* | Add a macro to disable class-specific new/delete | Chris Robinson | 2020-03-23 | 1 | -0/+6 |
| | |||||
* | Avoid ## in a macro | Chris Robinson | 2020-03-23 | 1 | -6/+6 |
| | | | | Cppcheck thinks it's an invalid use of it |