Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Manually save and restore the FPU rounding mode on Windows | Chris Robinson | 2017-09-19 | 2 | -0/+13 |
| | | | | | | | Apparently there is a bug with at least MinGW-W64 where fegetenv and fesetenv do not properly save and restore the FPU rounding mode, resulting in the rounding mode remaining as round-to-zero after certain function calls. I do not know if this also affects MSVC, but better safe than sorry for now. | ||||
* | Always link to ossaudio when found | Chris Robinson | 2017-09-15 | 1 | -1/+1 |
| | |||||
* | Handle libossaudio as an optional OSS library | Chris Robinson | 2017-09-15 | 2 | -1/+16 |
| | |||||
* | Add a check for pthread_setname_np with three parameters | Chris Robinson | 2017-09-15 | 3 | -0/+24 |
| | | | | As found in NetBSD. | ||||
* | Don't hide -msse and -mfpu=neon checks behind a not-msvc check | Chris Robinson | 2017-08-30 | 1 | -21/+20 |
| | | | | | Apparently Clang gets reported as being MSVC on Windows, but still needs the GCC switches to enable SSE code generation. | ||||
* | I guess -1 isn't allowed for the output | Chris Robinson | 2017-08-30 | 1 | -4/+4 |
| | |||||
* | Free the args returned by CommandLineToArgvW | Chris Robinson | 2017-08-30 | 1 | -0/+2 |
| | |||||
* | Depend on native-tools sources using IMPLICIT_DEPENDS | Chris Robinson | 2017-08-30 | 1 | -1/+3 |
| | |||||
* | Avoid using wmain on Windows | Chris Robinson | 2017-08-30 | 5 | -54/+53 |
| | |||||
* | Pass the current cmake generator to the native-tools build | Chris Robinson | 2017-08-30 | 1 | -1/+1 |
| | |||||
* | Include limits.h where INT_MAX is used | Chris Robinson | 2017-08-30 | 1 | -0/+2 |
| | |||||
* | Avoid some extraneous load calls | Chris Robinson | 2017-08-30 | 2 | -26/+23 |
| | | | | | This likely doesn't change anything given a working optimizer, but it cleans up the code some. | ||||
* | Automatically generate the bsinc table when building | Chris Robinson | 2017-08-28 | 5 | -6718/+434 |
| | | | | | This makes bsincgen a native tool like bin2h, so it can run automatically when compiling. | ||||
* | Ensure some macros have the correct size | Chris Robinson | 2017-08-28 | 2 | -1/+8 |
| | |||||
* | Rename resampler labels | Chris Robinson | 2017-08-27 | 2 | -6/+6 |
| | |||||
* | Add bsinc24 to alsoft-config | Chris Robinson | 2017-08-27 | 1 | -1/+5 |
| | |||||
* | Add a higher quality bsinc resampler using 24 sample points | Chris Robinson | 2017-08-27 | 8 | -23/+1342 |
| | | | | | | | This improves the transition width, allowing more of the higher frequencies remain audible. It would be preferrable to have an upper limit of 32 points instead of 48, to reduce the overall table size and the CPU cost for down- sampling. | ||||
* | Properly open the output file for writing | Chris Robinson | 2017-08-27 | 1 | -1/+1 |
| | |||||
* | Avoid including AL headers in makehrtf | Chris Robinson | 2017-08-27 | 1 | -7/+17 |
| | |||||
* | Use a common header for Unicode-awareness on Windows | Chris Robinson | 2017-08-27 | 3 | -159/+95 |
| | |||||
* | Allow specifying the output filename with bsincgen | Chris Robinson | 2017-08-26 | 2 | -31/+143 |
| | |||||
* | Always declare a native-tools build target | Chris Robinson | 2017-08-26 | 2 | -34/+40 |
| | |||||
* | Rename the bsinc resampler to bsinc12 | Chris Robinson | 2017-08-25 | 7 | -75/+78 |
| | |||||
* | Constify some pointers | Chris Robinson | 2017-08-23 | 3 | -3/+3 |
| | |||||
* | Parameterize the filter order and rejection in bsincgen | Chris Robinson | 2017-08-23 | 1 | -28/+29 |
| | |||||
* | Parameterize the bsinc table name | Chris Robinson | 2017-08-22 | 1 | -8/+9 |
| | |||||
* | Install the itu5.1-nocenter.ambdec preset | Chris Robinson | 2017-08-21 | 1 | -0/+1 |
| | |||||
* | Properly postfix the filter order number | Chris Robinson | 2017-08-21 | 1 | -2/+6 |
| | |||||
* | Meters per unit can't be 0 | Chris Robinson | 2017-08-21 | 1 | -2/+2 |
| | |||||
* | 0 meters per unit is invalid | Chris Robinson | 2017-08-21 | 2 | -3/+3 |
| | |||||
* | Properly check if a pointer is different when cleaning it up | Chris Robinson | 2017-08-20 | 1 | -2/+2 |
| | |||||
* | Fix -l switch | Chris Robinson | 2017-08-20 | 1 | -1/+1 |
| | |||||
* | Clarify argument errors in makehrtf | Chris Robinson | 2017-08-20 | 1 | -8/+8 |
| | |||||
* | Ensure the arglist is properly terminated | Chris Robinson | 2017-08-20 | 1 | -3/+2 |
| | |||||
* | Print the input and output filenames in makehrtf | Chris Robinson | 2017-08-20 | 1 | -2/+2 |
| | |||||
* | Remove the -m command from makehrtf | Chris Robinson | 2017-08-20 | 1 | -44/+15 |
| | | | | | It only ever outputs mhr files, so there's no need to have a command for it. If another output format is ever made, it can be a normal option flag. | ||||
* | Properly add getopt.c to makehrtf | Chris Robinson | 2017-08-20 | 1 | -2/+3 |
| | |||||
* | Use getopt to handle options in makehrtf | Chris Robinson | 2017-08-20 | 5 | -72/+260 |
| | |||||
* | Improve unicode handling for makehrtf | Chris Robinson | 2017-08-20 | 2 | -1/+86 |
| | | | | | | | Command line parameters and filenames are now unicode-aware (the .def files should be UTF-8 encoded, if they contain any non-ASCII-7 characters). Unicode characters might not display correctly in the console, but it should process them correctly. | ||||
* | Properly clear the extra ChannelsPerOrder entries | Chris Robinson | 2017-08-19 | 1 | -1/+1 |
| | |||||
* | Add a function to multiply a complex with a scalar | Chris Robinson | 2017-08-18 | 1 | -16/+12 |
| | |||||
* | Pass the filter entry to apply to resample_fir4 | Chris Robinson | 2017-08-18 | 6 | -10/+8 |
| | |||||
* | Show progress when processing HRTFs | Chris Robinson | 2017-08-18 | 1 | -2/+28 |
| | |||||
* | Use a proper complex number types in makehrtf | Chris Robinson | 2017-08-18 | 1 | -112/+114 |
| | |||||
* | Simplify bsincgen's Kaiser function | Chris Robinson | 2017-08-18 | 1 | -8/+3 |
| | |||||
* | "Unfix" the filter length calculation | Chris Robinson | 2017-08-18 | 1 | -3/+3 |
| | | | | | | | | Partially reverts 3f3a3ac4f1d069542ca2399a8b5e63d9d1a4df3b. The l*2 + 1 is correct when you want an odd number of sample points, which avoids an unnecessary phase offset in the fitler. However, the rounding is still needed to calculating the left offset (l), or else the transition width can increase with an odd-numbered order. | ||||
* | Keep bsinc filter quality more consistent between scales | Chris Robinson | 2017-08-17 | 2 | -551/+553 |
| | | | | | | | This generates the filters using the proper size and scale. The 'a' divisor should represent the +/- sample range (and thus be a whole number), with the number of sample points being double that. Increasing the filter size to a multiple of 4 (for SIMD) can be done by padding in 0s afterward. | ||||
* | Workaround Android not having log2 | Chris Robinson | 2017-08-17 | 1 | -0/+4 |
| | |||||
* | Properly calculate the filter size | Chris Robinson | 2017-08-17 | 1 | -3/+4 |
| | |||||
* | Correct the bsinc filter order | Chris Robinson | 2017-08-17 | 2 | -969/+970 |
| | | | | | | Despite the claim that it was an 11th order filter, the transition width was generated by specifying 12th order. A 12th order filter would need 14 sample points rather than the 12 it had. |