aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/hrtf.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix some integer truncation warnings in MSVCChris Robinson2019-04-121-6/+6
|
* Remove the SZFMT macroChris Robinson2019-04-111-3/+3
| | | | C++11 mandates the %zu/d formatter
* Change references of makehrtf to makemhrChris Robinson2019-03-241-1/+1
|
* Simplify calculating azimuth and elevation indices for HRTFChris Robinson2019-03-141-17/+7
|
* Fix wrapping for the upper HRIR indexChris Robinson2019-03-141-13/+14
|
* Reverse the HRTF field arrayChris Robinson2019-02-271-12/+17
| | | | | | Most often a sound's distance will be beyond the farthest field measurement, so It's more efficient to have the farthest field first and avoid looping through the whole field array for them.
* Rename MAX_AMBI_COEFFS and MAX_AMBI2D_COEFFSChris Robinson2019-02-191-2/+2
|
* Apply phase correction to the ambisonic decoder HRIRsChris Robinson2019-02-161-25/+60
| | | | | | This preserves the original phase of the HRIR frequencies for decoding the ambisonic signal. This should help prevent extra coloration from the band- splitter used to scale the HF response.
* Use std::arrays for HRIR coeffs and valuesChris Robinson2019-02-071-21/+16
|
* Use a unique_ptr to store the loaded HrtfEntryChris Robinson2019-02-041-34/+28
|
* Add missing includeChris Robinson2019-01-291-1/+3
|
* Calculate the correct evidx for the HRTF B-Format decoderChris Robinson2019-01-291-3/+7
|
* Load and use all available HRTF fieldsChris Robinson2019-01-291-30/+30
|
* Pass the distance to GetHrtfCoeffsChris Robinson2019-01-281-11/+15
|
* Collect HRTF field info into a structChris Robinson2019-01-281-32/+47
|
* Clean up calculating HRIR indices to blendChris Robinson2019-01-281-37/+26
|
* Make IncRef and DecRef member functionsChris Robinson2019-01-241-13/+13
|
* Use the farthest of multi-field HRTFsChris Robinson2019-01-221-3/+10
|
* Partially allow loading of multi-field HRTFsChris Robinson2019-01-221-40/+62
| | | | | Only the first field actually gets used, but all the data is processed when loading.
* Use a flexible array for DirectHrtfState and ALvoiceChris Robinson2019-01-121-3/+3
|
* Use a flexible array for HrtfHandle and SampleConverterChris Robinson2019-01-111-18/+25
|
* Make Create methods for structs with flexible array members ...Chris Robinson2019-01-081-6/+16
| | | | ... that are used with unique_ptr.
* Fix some comments and reduce indentationChris Robinson2019-01-081-35/+32
|
* Avoid using old style castsFilip Gawin2019-01-081-5/+5
| | | | | | To think about: examples/alffplay.cpp:600 OpenAL32/Include/alMain.h:295
* Revert back to using a band-splitter to increase the HF responseChris Robinson2019-01-061-23/+12
| | | | | | Unfortunately the shelf filter causes issues due to the shelf gain magnitude creating a varying phase offset. The splitter also creates phase offsets, but it's consistent regardless of gain.
* Replace macros with constexpr inline functionsChris Robinson2019-01-061-3/+3
|
* Remove an unnecessary undefChris Robinson2019-01-061-1/+0
|
* Use double-precision biquads for the HRTF shelf filtersChris Robinson2019-01-061-7/+7
|
* Use a shelf filter for the HRTF B-Format decoder HF scaleChris Robinson2019-01-061-37/+50
|
* Add and use a make_unique functionChris Robinson2019-01-011-2/+2
|
* Rename a couple HRTF structsChris Robinson2018-12-221-37/+37
|
* Try to help GetHrtfCoeffs vectorizeChris Robinson2018-12-211-21/+19
|
* Small cleanup for BuildBFormatHrtfChris Robinson2018-12-211-35/+39
|
* Don't convert the HRTF decoder virtual speaker positions to radiansChris Robinson2018-12-211-10/+8
|
* Add more casts for MSVCChris Robinson2018-12-121-1/+1
|
* Add default construction to HrtfEntryChris Robinson2018-12-091-3/+1
|
* Use a vector for LoadedHrtfsChris Robinson2018-12-091-67/+65
|
* Avoid static global initialization functionsChris Robinson2018-12-081-15/+0
|
* Use class methods for BandSplitter and SplitterAllpass filtersChris Robinson2018-12-051-5/+5
|
* Replace remaining uses of std::vector with al::vectorChris Robinson2018-11-241-14/+14
| | | | Which uses a custom allocator that uses our allocation functions.
* Simplify the RefCount typeChris Robinson2018-11-191-2/+2
|
* Remove some unnecessary static specifiersChris Robinson2018-11-181-2/+2
|
* Use a standard string for the enumerated HRTF namesChris Robinson2018-11-181-14/+5
|
* Use a regular vector for the enumerated HRTF listChris Robinson2018-11-181-72/+63
|
* Use a regular char* for the device's nameChris Robinson2018-11-151-10/+2
|
* Pass a normal const char* to EnumerateHrtfChris Robinson2018-11-151-4/+4
|
* Make the enumerated HRTF entry name a char*Chris Robinson2018-11-121-20/+25
| | | | | Would ideally be a std::string with the HRTF name itself, but they're still seen in C code.
* Use C++ more with helpers.cppChris Robinson2018-11-111-55/+29
|
* Use C++ more in hrtf.cppChris Robinson2018-11-091-499/+439
|
* Convert hrtf.c to C++Chris Robinson2018-11-091-0/+1410