aboutsummaryrefslogtreecommitdiffstats
path: root/alc/hrtf.h
Commit message (Collapse)AuthorAgeFilesLines
* Slightly increase the HRTF direct delayChris Robinson2020-05-211-1/+1
| | | | To help improve the phase-corrected HF scaler.
* Improve HRTF delay handlingChris Robinson2020-05-201-2/+0
| | | | | Ensures source-level HRTF, the dry mix, and direct output all align properly, and simplifies adding the delay in the direct mix output.
* Apply the ambisonic HF scaling in real-time with HRTFChris Robinson2020-05-191-3/+17
| | | | | | | | | Rather than applying the HF scale to the IRs necessitating them to be truncated along with increasing the IR size, it can be applied to the input signal for the same results. Consequently, the IR size can be notably shortened while avoiding the extra truncation. In its place, the delayed reversed all-pass technique can still be used on the input for maintaining phase when applying the bandsplit/hfscalar filter to the input signal.
* Make BuildBFormatHrtf a member of DirectHrtfStateChris Robinson2020-05-011-21/+21
|
* Remove use of unnecessary type aliasesChris Robinson2020-03-301-1/+1
|
* Use an intrusive_ptr for the device's HrtfStoreChris Robinson2020-03-011-3/+5
|
* Use std::array and span for the HRTF delaysChris Robinson2020-02-081-2/+2
|
* Get rid of an unnecessary structChris Robinson2020-01-131-4/+0
|
* Use a span for a fixed-size array referenceChris Robinson2020-01-131-2/+2
|
* Use an array type for the HRIR delay pairChris Robinson2019-12-301-1/+2
|
* Don't force the HRIR length to a rounded valueChris Robinson2019-12-111-3/+5
| | | | | The coefficient and accumulation buffers are guaranteed large enough for the full size, and the SIMD handlers will behave the same either way.
* Rename a couple structs for clarityChris Robinson2019-12-061-4/+4
|
* Use unsigned for array indicesChris Robinson2019-11-291-5/+5
|
* Add an option to limit the HRTF's IR sizeChris Robinson2019-11-281-1/+1
|
* Resample HRIRs when loadingChris Robinson2019-11-281-1/+1
|
* Store HRIR coefficients using HrirArrayChris Robinson2019-11-281-4/+4
|
* Rework HRTF enuemration so the loaded HRTFs are separateChris Robinson2019-11-281-10/+2
|
* Rename HrtfEntry to HrtfStoreChris Robinson2019-11-281-4/+4
|
* Use wrappers to distinguish elevation and azimuth valuesChris Robinson2019-11-161-2/+4
|
* Avoid holding HRTF accumulation samples per-sourceChris Robinson2019-11-031-2/+0
| | | | | | It notably simplifies things to mix HRTF sources into an accumulation buffer together, which the Dry buffer's Ambisonic-to-HRTF decode is then added to, before being mixed to the Real output.
* Clear the HRTF state values on allocationChris Robinson2019-09-301-1/+1
|
* Avoid extraneous parametersChris Robinson2019-09-251-3/+4
|
* Use blended HRIRs for the B-Format decodeChris Robinson2019-09-241-2/+1
|
* Enable and fix more warningsChris Robinson2019-09-141-1/+1
|
* Make IrSize unsignedChris Robinson2019-09-131-3/+3
|
* Simplify flexible array member usageChris Robinson2019-09-111-3/+1
|
* Only use one accumulation buffer for B-Format HRTF mixingChris Robinson2019-09-031-9/+4
| | | | | It's all getting added together anyway and all channels are continuous inputs, so this is fewer passes over various buffers.
* Don't templatize HrirArrayChris Robinson2019-07-311-8/+6
|
* More include cleanupsChris Robinson2019-07-281-1/+1
|
* Rename Alc to alcChris Robinson2019-07-281-0/+124