aboutsummaryrefslogtreecommitdiffstats
path: root/utils/makemhr/loaddef.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add missing <cstdarg>ArthurSonzogni2020-04-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | OpenAL-Soft fails to compile on some GCC version: https://travis-ci.com/github/ArthurSonzogni/smk/jobs/318304162 It has regressed likely after: https://github.com/kcat/openal-soft/commit/c83609277bed4be4ef40ed306bf2c57fefa19519 va_start is defined in: - <stdarg.h> - <cstdarg> The repository is using it from: - al/error.cpp - al/filter.cpp - alc/alu.cpp - alc/helpers.cpp - common/alexcpt.cpp - utils/makemhr/loaddef.cpp - utils/openal-info.c This patch is adding its definition in the files missing it: - common/alexcpt.cpp - utils/makemhr/loaddef.cpp - utils/openal-info.c Bug: https://travis-ci.com/github/ArthurSonzogni/smk/jobs/318304162
* Use the peak IR magnitude to get the onsetChris Robinson2020-01-251-12/+4
| | | | | | | | | | | | While maybe not technically correct, we actually only care about the difference between onsets (any base constant is removed). This should work better since it determines when the IR is most audible, whereas previously it used a variable threshold of when it reached 15% of the max amplitude. An even better method may be to check where the IR amplitude exceeds a fixed threshold (i.e. the same threshold applied to all IRs), but that would need tweaking to find a level that doesn't catch random noise and doesn't potentially miss the more occluded IRs.
* Move the polyphase resampler to the common libChris Robinson2019-11-281-3/+3
|
* Use istream for makemhr inputChris Robinson2019-09-231-124/+131
|
* Use our case-insensitive compare functions in makemhrChris Robinson2019-09-161-19/+20
|
* Enable and fix more warningsChris Robinson2019-09-141-5/+4
|
* Avoid C-style casts in C++Chris Robinson2019-09-111-6/+6
|
* Fix some implicit castsChris Robinson2019-09-111-8/+8
|
* Add missing header.Penguin2019-07-141-0/+1
|
* Add a missing include for varargsChris Robinson2019-03-261-0/+1
|
* Detect SOFA files for makemhr inputChris Robinson2019-03-251-4/+11
|
* Use only a single function to load the HrirDataTChris Robinson2019-03-251-3/+42
|
* Add a command-line option to force mono input with makemhrChris Robinson2019-03-241-1/+6
|
* Cleanup some unnecessary parametersChris Robinson2019-03-241-7/+4
|
* Move makemhr's .def loading code to a separate sourceChris Robinson2019-03-241-0/+1976
|
* Rename makehrtf to makemhr and move it to a subdirectoryChris Robinson2019-03-241-0/+0