aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/hrtf.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Clean up includes a bitChris Robinson2019-07-281-14/+21
| | | | | | | Trying out the IWYU tool to only include what's necessary in a given file. Seems to work decently (it'll miss some headers, suggest unnecessary ones, and make nonsense suggestions for some things, but overall gives a good starting point), and helps clean out some headers.
* Use an optional for ConfigValueStrChris Robinson2019-06-301-14/+16
|
* Clean up all unused HRTFs when going through themChris Robinson2019-06-241-12/+10
|
* Avoid strcpyChris Robinson2019-06-061-1/+2
|
* Make some more channel counts unsignedChris Robinson2019-06-051-5/+7
|
* Use a 16-sample base delay for the B-Format decoder IRsChris Robinson2019-06-041-5/+5
|
* Avoid a separate struct for the bandsplitter all-passChris Robinson2019-06-041-5/+2
|
* Don't log the function or prefixChris Robinson2019-06-041-2/+2
| | | | | | It's ultimately unnecessary since the message is an indicator about where it was logged from. The message itself is generally more important than where it was from, too.
* Improve alignment handling for the alignment allocatorChris Robinson2019-06-031-1/+1
|
* Avoid some uses of RESTRICTChris Robinson2019-05-251-2/+1
|
* Fix some truncation warnings with MSVCChris Robinson2019-05-241-14/+14
|
* Use a span for resource dataChris Robinson2019-05-231-9/+8
|
* Properly reverse the HRTF field order when loading itChris Robinson2019-05-221-66/+101
| | | | And combine a couple arrays into an array structure
* Allow initializing splitter filters with constructorsChris Robinson2019-05-221-4/+2
|
* 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
|