aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Manually save and restore the FPU rounding mode on WindowsChris Robinson2017-09-192-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 foundChris Robinson2017-09-151-1/+1
|
* Handle libossaudio as an optional OSS libraryChris Robinson2017-09-152-1/+16
|
* Add a check for pthread_setname_np with three parametersChris Robinson2017-09-153-0/+24
| | | | As found in NetBSD.
* Don't hide -msse and -mfpu=neon checks behind a not-msvc checkChris Robinson2017-08-301-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 outputChris Robinson2017-08-301-4/+4
|
* Free the args returned by CommandLineToArgvWChris Robinson2017-08-301-0/+2
|
* Depend on native-tools sources using IMPLICIT_DEPENDSChris Robinson2017-08-301-1/+3
|
* Avoid using wmain on WindowsChris Robinson2017-08-305-54/+53
|
* Pass the current cmake generator to the native-tools buildChris Robinson2017-08-301-1/+1
|
* Include limits.h where INT_MAX is usedChris Robinson2017-08-301-0/+2
|
* Avoid some extraneous load callsChris Robinson2017-08-302-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 buildingChris Robinson2017-08-285-6718/+434
| | | | | This makes bsincgen a native tool like bin2h, so it can run automatically when compiling.
* Ensure some macros have the correct sizeChris Robinson2017-08-282-1/+8
|
* Rename resampler labelsChris Robinson2017-08-272-6/+6
|
* Add bsinc24 to alsoft-configChris Robinson2017-08-271-1/+5
|
* Add a higher quality bsinc resampler using 24 sample pointsChris Robinson2017-08-278-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 writingChris Robinson2017-08-271-1/+1
|
* Avoid including AL headers in makehrtfChris Robinson2017-08-271-7/+17
|
* Use a common header for Unicode-awareness on WindowsChris Robinson2017-08-273-159/+95
|
* Allow specifying the output filename with bsincgenChris Robinson2017-08-262-31/+143
|
* Always declare a native-tools build targetChris Robinson2017-08-262-34/+40
|
* Rename the bsinc resampler to bsinc12Chris Robinson2017-08-257-75/+78
|
* Constify some pointersChris Robinson2017-08-233-3/+3
|
* Parameterize the filter order and rejection in bsincgenChris Robinson2017-08-231-28/+29
|
* Parameterize the bsinc table nameChris Robinson2017-08-221-8/+9
|
* Install the itu5.1-nocenter.ambdec presetChris Robinson2017-08-211-0/+1
|
* Properly postfix the filter order numberChris Robinson2017-08-211-2/+6
|
* Meters per unit can't be 0Chris Robinson2017-08-211-2/+2
|
* 0 meters per unit is invalidChris Robinson2017-08-212-3/+3
|
* Properly check if a pointer is different when cleaning it upChris Robinson2017-08-201-2/+2
|
* Fix -l switchChris Robinson2017-08-201-1/+1
|
* Clarify argument errors in makehrtfChris Robinson2017-08-201-8/+8
|
* Ensure the arglist is properly terminatedChris Robinson2017-08-201-3/+2
|
* Print the input and output filenames in makehrtfChris Robinson2017-08-201-2/+2
|
* Remove the -m command from makehrtfChris Robinson2017-08-201-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 makehrtfChris Robinson2017-08-201-2/+3
|
* Use getopt to handle options in makehrtfChris Robinson2017-08-205-72/+260
|
* Improve unicode handling for makehrtfChris Robinson2017-08-202-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 entriesChris Robinson2017-08-191-1/+1
|
* Add a function to multiply a complex with a scalarChris Robinson2017-08-181-16/+12
|
* Pass the filter entry to apply to resample_fir4Chris Robinson2017-08-186-10/+8
|
* Show progress when processing HRTFsChris Robinson2017-08-181-2/+28
|
* Use a proper complex number types in makehrtfChris Robinson2017-08-181-112/+114
|
* Simplify bsincgen's Kaiser functionChris Robinson2017-08-181-8/+3
|
* "Unfix" the filter length calculationChris Robinson2017-08-181-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 scalesChris Robinson2017-08-172-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 log2Chris Robinson2017-08-171-0/+4
|
* Properly calculate the filter sizeChris Robinson2017-08-171-3/+4
|
* Correct the bsinc filter orderChris Robinson2017-08-172-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.