aboutsummaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* Use cinttypes instead of inttypes.h in C++Chris Robinson2023-06-011-1/+1
|
* Use some more standard functionsChris Robinson2023-05-051-4/+2
|
* Use deduction guides instead of helper functions for spansChris Robinson2023-05-053-4/+4
|
* Use std::byte instead of a custom al::byteChris Robinson2023-05-041-27/+26
|
* Replace al::optional with std::optionalChris Robinson2023-05-042-5/+4
|
* Set the C/C++ standard version properties manuallyChris Robinson2023-02-251-1/+2
| | | | | Setting it globally interferes with Oboe trying to use C++17 (when its built as a sub-project), which we don't require yet.
* Avoid using auto for lambda parametersChris Robinson2023-02-061-1/+1
|
* Make sure a variable is set before useChris Robinson2023-01-311-3/+3
|
* Change the default resampler to cubicChris Robinson2023-01-271-1/+1
| | | | | This has notably better quality than linear, while still being faster than bsinc.
* Increase the default mhr truncation size to 64Chris Robinson2023-01-231-1/+1
| | | | To match the default data set.
* Replace a couple more pointer+count with a spanChris Robinson2023-01-234-148/+124
|
* Use a vector of arrays for a multi-dimensional arrayChris Robinson2023-01-234-12/+16
|
* Use a span instead of pointer+countChris Robinson2023-01-234-17/+19
|
* Remove a redundant struct memberChris Robinson2023-01-234-37/+34
|
* Remove some unused membersChris Robinson2023-01-232-4/+0
|
* Fix closing parenthesisChris Robinson2023-01-151-1/+1
|
* clang-tidy cleanups (#800)Rosen Penev2023-01-153-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * clang-tidy: use bool literals Found with modernize-use-bool-literals Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: replace std::bind with lambdas Found with modernize-avoid-bind Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: use data() instead of pointer stuff Found with readability-container-data-pointe Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: use empty() Found with readability-container-size-empty Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: remove static in anon namespace Found with readability-static-definition-in-anonymous-namespace Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: remove const return Found with readability-const-return-type Signed-off-by: Rosen Penev <[email protected]> Signed-off-by: Rosen Penev <[email protected]>
* Remove the FFT'd resampler from makemhrChris Robinson2023-01-111-93/+0
| | | | | Both SOFA and non-SOFA inputs use the polyphase resampler as needed when loading the IRs.
* Update alsoft-config with the new settingsChris Robinson2023-01-092-7/+38
|
* Update alsoft-configChris Robinson2023-01-082-72/+7
|
* Display the device sample rate in openal-infoChris Robinson2022-12-311-1/+7
|
* Avoid extraneous temporaries when filling vectorsChris Robinson2022-12-152-0/+5
|
* Better handle span sources from iteratorsChris Robinson2022-12-141-2/+2
|
* Avoid manually specifying FFT template parametersChris Robinson2022-12-141-2/+2
|
* Use the existing common FFT functions in makemhrChris Robinson2022-11-272-84/+16
|
* Update alsoft-config for new optionsChris Robinson2022-11-172-51/+89
|
* Support different input channel orders in uhjencoderChris Robinson2022-11-041-12/+39
|
* Use the correct input for the IIR UHJ encoderChris Robinson2022-10-261-2/+2
| | | | Also better detail the IIR implementation.
* Avoid nesting lambdasChris Robinson2022-10-241-42/+27
|
* Avoid a duplicate all-pass function that accumulatesChris Robinson2022-10-221-33/+30
|
* Don't pass null to fprintfChris Robinson2022-10-101-2/+2
|
* Handle the delays specified in SOFA filesChris Robinson2022-10-101-44/+55
|
* Resample before frequency analysisChris Robinson2022-05-135-38/+92
| | | | | | | | | | 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.
* Handle 3D7.1 as a separate channel configurationChris Robinson2022-04-263-35/+80
| | | | | | | It's treated as 5.1 + 2 aux channels. This allows AL_DIRECT_CHANNELS_SOFT to behave better, not forwarding rear left/right channel inputs to lower front and upper rear, and allows reporting a more appropriate output mode to the app instead of 7.1.
* Update a tooltip to match current behaviorChris Robinson2022-04-261-3/+1
|
* Add an option to alsoft-config for EAX API supportChris Robinson2022-04-262-1/+29
|
* Print the output mode from openal-infoChris Robinson2022-04-171-0/+29
|
* Fix the UHJ decoder parameters in uhjdecoderChris Robinson2022-03-021-5/+5
|
* Use a more compatible method to check for EFX effectsChris Robinson2022-02-261-41/+68
| | | | | | Creative's wrapper driver doesn't seem to handle EFX enums for alGetEnumValue, let alone return values only for what's supported. The only way to check which filter and effect types it supports is try to set them and check for errors.
* Add options to encode 3- and 4-channel UHJ to uhjencoderChris Robinson2022-02-041-19/+71
| | | | | | | The generated files won't play correctly if the player doesn't know they're 3- and 4-channel UHJ (the third and fourth channels must be ignored, or decoded, for playback). This is largely just for completion's sake, just in case someone has a use for it.
* Rename Sqrt1_2 for consistencyChris Robinson2022-02-011-2/+2
|
* Remove math_defs.hChris Robinson2022-01-271-47/+48
|
* Get rid of MathDefsChris Robinson2022-01-271-1/+2
|
* Add an ambi-format option for ACN ordering and FuMa scalingChris Robinson2022-01-121-1/+2
|
* Use the deprecated enum for older Qt versionsChris Robinson2022-01-061-0/+4
|
* Avoid a deprecated QString enumChris Robinson2022-01-051-1/+1
|
* Add a third-order ambisonic decoder for HRTFChris Robinson2022-01-051-5/+4
| | | | | Using the 20-channel dodecahedron, seems to be good enough to handle 16-channel third-order ambisonics.
* Add the PipeWire config option to alsoft-configChris Robinson2021-12-252-0/+33
|
* Slight update to the UHJ coefficientsChris Robinson2021-11-282-34/+34
| | | | | | | The extended precision of the encoder's 0.6512*X term was guesswork, with no real basis for it. Switch back to the original value until something better actually comes up. Also updates the decoder to account for the change in the encoder.
* Recognize PipeWire in alsoft-configChris Robinson2021-11-261-0/+3
|