aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
Commit message (Collapse)AuthorAgeFilesLines
* Don't explicitly restore the old HRTF when initializing panningChris Robinson2017-04-071-12/+0
| | | | Otherwise it won't store the name in the device.
* Allocate temp storage for delays when loading HRTFsChris Robinson2017-04-071-8/+11
|
* Remove another reference to the sinc8 resamplerChris Robinson2017-04-071-1/+1
|
* Clean up a commentChris Robinson2017-04-071-1/+1
|
* Reference count HRTFs and unload them when unusedChris Robinson2017-04-064-8/+89
|
* Load embedded HRTF entries as-neededChris Robinson2017-04-061-58/+59
|
* Fix an incorrect messageChris Robinson2017-04-051-10/+13
|
* Load HRTF files as neededChris Robinson2017-04-054-101/+96
| | | | | Currently only applies to external files, rather than embedded datasets. Also, HRTFs aren't unloaded after being loaded, until library shutdown.
* Store the loaded hrtf entry container in the enumerated hrtf entryChris Robinson2017-04-054-60/+64
|
* Store the HRTF's filename separate from the entry storageChris Robinson2017-04-052-48/+72
|
* Rename al_string_* functions to alstr_*Chris Robinson2017-04-0423-350/+348
|
* Recognize %-encoded characters for config section namesChris Robinson2017-04-011-1/+55
|
* Remove a couple unused macrosChris Robinson2017-04-011-18/+0
|
* Don't rely on sizeof being the offset to a struct's unsized arrayChris Robinson2017-04-011-2/+3
|
* Constify a variableChris Robinson2017-04-011-3/+3
|
* Make a pointer restrict and assume alignedChris Robinson2017-04-011-1/+1
|
* Avoid some unnecessary string reallocationChris Robinson2017-03-311-51/+50
|
* Convert float samples to integer using a power-of-2 multipleChris Robinson2017-03-311-13/+9
|
* Convert integer samples to float using a power-of-2 divisorChris Robinson2017-03-311-2/+2
| | | | | | | This should cut down on unnecessary quantization noise (however minor) for 8- and 16-bit samples. Unfortunately a power-of-2 multiple can't be used as easily for converting float samples to integer, due to integer types having a non- power-of-2 maximum amplitude (it'd require more per-sample clamping).
* Load HRTF coefficients as pre-normalized floatsChris Robinson2017-03-312-39/+48
|
* Combine some HRTF loading codeChris Robinson2017-03-311-78/+72
|
* Use the correct types' sizes for HRTF storageChris Robinson2017-03-311-8/+8
|
* Make ReleaseContext return if any contexts still remainChris Robinson2017-03-281-10/+25
|
* Use an array of pointers for effects instead of a linked listChris Robinson2017-03-272-20/+26
|
* Fix HRTF interpolated gain calculationChris Robinson2017-03-261-2/+2
|
* Use a loop to apply NFC filtersChris Robinson2017-03-251-30/+15
|
* Use ALsizei for more index lookupsChris Robinson2017-03-241-15/+15
|
* Properly calculate the echo dampingChris Robinson2017-03-241-1/+1
|
* Fix setting Ambi formats for loopback devicesChris Robinson2017-03-211-1/+1
|
* Use an atomic flag to test if a source needs to updateChris Robinson2017-03-201-1/+1
|
* Make DataPosInt an ALsizeiChris Robinson2017-03-201-15/+16
|
* Use proper bools for boolean statesChris Robinson2017-03-201-12/+11
|
* Don't defer source state or offset changesChris Robinson2017-03-191-32/+3
|
* Fix alcGetInteger64vSOFT to handle ambisonic attributesChris Robinson2017-03-181-14/+28
|
* Replace a couple ALuint with ALsizeiChris Robinson2017-03-171-2/+2
|
* Fix NFC filter to set the correct center frequencyChris Robinson2017-03-161-13/+9
|
* Increase the filter slope to -12dB/octaveChris Robinson2017-03-162-9/+9
|
* Check usability of MixHrtf_Neon before MixHrtf_SSEChris Robinson2017-03-141-4/+4
|
* Remove a couple unneeded typedefsChris Robinson2017-03-141-23/+25
|
* Store the HRIR coeff pointer and delays directly in MixHrtfParamsChris Robinson2017-03-123-7/+12
|
* Rework HRTF coefficient fadingChris Robinson2017-03-119-263/+96
| | | | | | | | | | | | | | | This improves fading between HRIRs as sources pan around. In particular, it improves the issue with individual coefficients having various rounding errors in the stepping values, as well as issues with interpolating delay values. It does this by doing two mixing passes for each source. First using the last coefficients that fade to silence, and then again using the new coefficients that fade from silence. When added together, it creates a linear fade from one to the other. Additionally, the gain is applied separately so the individual coefficients don't step with rounding errors. Although this does increase CPU cost since it's doing two mixes per source, each mix is a bit cheaper now since the stepping is simplified to a single gain value, and the overall quality is improved.
* Make the voice's 'moving' state a bitflagChris Robinson2017-03-111-2/+2
|
* Allocate as many channels for DirectHrtfState as neededChris Robinson2017-03-114-9/+10
|
* Dynamically allocate the device's HRTF stateChris Robinson2017-03-104-73/+80
|
* Fix building on MSVCChris Robinson2017-03-101-1/+1
|
* Fix building without C11Chris Robinson2017-03-101-1/+2
|
* Implement NFC filters for Ambisonic renderingChris Robinson2017-03-104-76/+235
| | | | | | | | | | | | | | NFC filters currently only work when rendering to ambisonic buffers, which includes HQ rendering and ambisonic output. There are two new config options: 'decoder/nfc' (default on) enables or disables use of NFC filters globally, and 'decoder/nfc-ref-delay' (default 0) specifies the reference delay parameter for NFC-HOA rendering with ambisonic output (a value of 0 disables NFC). Currently, NFC filters rely on having an appropriate value set for AL_METERS_PER_UNIT to get the correct scaling. HQ rendering uses the averaged speaker distances as a control/reference, and currently doesn't correct for individual speaker distances (if the speakers are all equidistant, this is fine, otherwise per-speaker correction should be done as well).
* Add an NFC filter implementationChris Robinson2017-03-092-0/+459
|
* Remove an unnecessary variableChris Robinson2017-03-091-2/+1
|
* Remove unnecessary atomic membersChris Robinson2017-03-081-109/+86
|