aboutsummaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* Implement our own cache for MYSOFA_EASY objectsChris Robinson2023-12-311-14/+39
| | | | | | | This is to both fix the potential issue of libmysofa calling free() on memory we allocated with calloc (which can be an issue if it linked to a different C runtime), and work around the code checker thinking the MYSOFA_EASY object leaks when mysofa_close and mysofa_cache_store are taking ownership of it.
* Handle pointer ownership a bit betterChris Robinson2023-12-293-24/+26
|
* Clean up some gotos and non-optimal castsChris Robinson2023-12-261-2/+4
|
* Use standard methods for roundingChris Robinson2023-12-251-1/+1
|
* Avoid assignments in if conditionsChris Robinson2023-12-231-2/+2
|
* Fix implicit widening after multiplicationChris Robinson2023-12-235-47/+48
|
* Ensure struct members are initializedChris Robinson2023-12-201-4/+4
|
* Fix some implicit conversionsChris Robinson2023-12-171-1/+1
|
* Remove DEF_NEWDELChris Robinson2023-12-162-6/+0
| | | | | C++17 provides alignment-aware allocators for us, so we don't need to use our own to make sure classes/structs are properly aligned.
* Fix clang-tidy warnings from the examples and utilitiesChris Robinson2023-12-138-350/+337
|
* Much more clang-tidy cleanupChris Robinson2023-12-109-310/+299
|
* Fix some clang-tidy warningsChris Robinson2023-12-081-2/+2
|
* Clean up some variables for clang-tidyChris Robinson2023-12-041-13/+10
|
* feat(openal-info): Add values related to sources inside openal-info.c (#940)MathiusD2023-12-021-0/+11
| | | | | | | * feat(openal-info): Add values related to sources inside openal-info.c * fix(openal-info): Update display of nb of sources CF following comment : https://github.com/kcat/openal-soft/pull/940#discussion_r1409659608
* Cleanup the event support reportingChris Robinson2023-11-251-15/+9
|
* Add query fonction in ALC_SOFT_system_events unreleased extension (#938)MathiusD2023-11-261-0/+51
| | | | | | | | | | | | | | | | | | | * feat(ALC_SOFT_system_events): Add alcEventIsSupportedSOFT method in ALC_SOFT_system_events unreleased extension The purpose of this addition (to my collection) are allow to retrieve which events are supported and if events are fully supported or if some case isn't managed for some reason For exemple only some backends provide system events: * pipewire -> Full support of extension * wasapi -> Full support of extension * pulseaudio -> Support of add and remove devices events only * coreaudio -> Support of default device change only * feat(ALC_SOFT_system_events): Fix typo in alext.h Cf following review : https://github.com/kcat/openal-soft/pull/938#discussion_r1404509828 * feat(ALC_SOFT_system_events): Remove ALC_EVENT_NOT_SUPPORTED_SOFT token Cf following discussions between this comment : https://github.com/kcat/openal-soft/pull/938#issuecomment-1825876452 to this comment : https://github.com/kcat/openal-soft/pull/938#issuecomment-1826419406
* Slightly simplify calculating the minimum phase outputChris Robinson2023-10-261-4/+1
|
* Print the HRTF used in openal-infoChris Robinson2023-10-231-2/+17
|
* Fix WFX channel matching in uhjencoderChris Robinson2023-10-161-1/+1
|
* 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
|