aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
Commit message (Collapse)AuthorAgeFilesLines
* Update ALC_OUTPUT_LIMITER_SOFT to handle ALC_DONT_CARE_SOFTChris Robinson2017-05-111-4/+8
| | | | | Essentially just adding a comment about it. Since we default to on, the behavior already fit.
* Reduce LIMITER_VALUE_MAXChris Robinson2017-05-091-6/+12
| | | | | | The previous value couldn't actually be expressed as a float and got rounded up to the next whole number value, leaving the potential for an overrun in the squared sum.
* Store the output limiter values as fixed-point integersChris Robinson2017-05-081-11/+6
| | | | | This helps keep the squared sum stable over larger updates, also avoiding the need to keep recalculating it.
* Update reverb conversion matrices and output gainChris Robinson2017-05-081-10/+12
|
* Apply attenuation when downmixing multi-channel sounds for panningChris Robinson2017-05-071-10/+26
|
* Calculate the output limiter gain using the RMSChris Robinson2017-05-052-30/+78
|
* Rename RollOff to RolloffChris Robinson2017-05-051-4/+4
|
* Increase the HRTF transition to 128 samplesChris Robinson2017-05-051-2/+2
|
* Implement cross-platform embedding of HRTF dataalexey.lysiuk2017-05-053-78/+8
|
* Start an extension to change the source's spatialize propertyChris Robinson2017-05-051-1/+4
|
* Add a property to force source spatialization on or offChris Robinson2017-05-041-3/+5
|
* Handle attenuated sources in CalcPanningAndFiltersChris Robinson2017-05-041-377/+442
|
* Calculate the multi-channel panning in a separate functionChris Robinson2017-05-041-249/+249
|
* Finalize AL_SOFT_source_resamplerChris Robinson2017-05-031-1/+1
|
* Add a mixing function to blend HRIRsChris Robinson2017-05-036-27/+90
| | | | | | This is a bit more efficient than calling the normal HRTF mixing function twice, and helps solve the problem of the values generated from convolution not being consistent with the new HRIR.
* Add a slight bit of attenuation to the reverb outputChris Robinson2017-05-021-2/+4
|
* Remove a duplicate checkChris Robinson2017-05-021-1/+1
|
* Change some ALuint parameters to ALsizeiChris Robinson2017-05-0210-75/+74
|
* Rename VOICE_IS_HRTF to VOICE_HAS_HRTFChris Robinson2017-05-022-5/+5
|
* Rename 'moving' flag to 'fading'Chris Robinson2017-05-021-2/+2
|
* Reimplement bilinear interpolation between HRIRsChris Robinson2017-05-011-25/+82
| | | | | | Some data sets are just too sparse, having noticeably few measurements to properly handle slowly panning sources. Although not perfect, bilinearly interpolating the HRIR measurements improves the positional accuracy.
* Allow querying the output limiter stateChris Robinson2017-04-301-2/+12
|
* Start an extension to toggle the output limiterChris Robinson2017-04-301-5/+18
|
* Don't do more reverb samples than there are to fade.Chris Robinson2017-04-281-2/+6
| | | | This avoids having to clamp the fade value when incrementing it.
* Fade HRTF coefficients over 64 samples at mostChris Robinson2017-04-281-40/+69
| | | | | | This greatly improves HRTF performance since the dual-mix only applies to the 64-sample coefficient transition. So rather than doubling the full mix, it only doubles 64 samples out of the full mix.
* Combine mostly duplicate functionsChris Robinson2017-04-271-121/+50
|
* Properly update the delay line offsets when fading is doneChris Robinson2017-04-271-28/+44
|
* Write directly to the output for HRTFChris Robinson2017-04-271-51/+26
|
* Implement a limiter on the device outputChris Robinson2017-04-262-4/+70
| | | | | | This reduces the output volume when the mixed samples extend outside of -1,+1, to prevent excessive clipping. It can reduce the volume by -80dB in 50ms, and increase it by +80dB in 1s (it will not go below -80dB or above 0dB).
* Reverb code updateChris Robinson2017-04-261-824/+1213
| | | | | | | | | | | | | | This update modifies the reverb in numerous ways. The 3-series, 4-parallel all-pass is replaced with a Gerzon vector all-pass. The vector all-pass is also applied to the early reflections, to help with the initial diffusion in the late reverb. The late reverb filter and feedback attenuation has been replaced with a dual first-order equalization filter, which controls the low and high frequencies with individual low-pass/high-shelf and high-pass/low-shelf filters with gain control. Additionally, delay lines now have the ability to blend the output between two offsets, to help smooth out the transition for when the delay changes (without such, it could result in undesirable clicks and pops).
* Skip mixing the fade out step when starting silentChris Robinson2017-04-251-12/+19
| | | | | Unfortunately it can't skip mixing the fade in when going to silence because the history needs to be up to date.
* Remove const from _Atomic vars to make Clang happyChris Robinson2017-04-212-9/+13
| | | | | | | | Clang does not allow using C11's atomic_load on const _Atomic variables. Previously it just disabled use of C11 atomics if atomic_load didn't work on a const _Atomic variable, but I think I'd prefer to have Clang use C11 atomics for the added features (more explicit memory ordering) even if it means a few instances of breaking const.
* Add the ability to change the source resamplerChris Robinson2017-04-211-1/+2
|
* Correctly enable the ambisonic upsampler for HOA outputChris Robinson2017-04-211-1/+1
|
* Add a method to enumerate resamplersChris Robinson2017-04-211-0/+7
|
* Store the resampler as part of the sourceChris Robinson2017-04-212-3/+3
|
* Make the default resampler a variableChris Robinson2017-04-201-8/+9
|
* Try NEON mixers before SSEChris Robinson2017-04-201-9/+8
|
* Make the buffer list next pointer atomicChris Robinson2017-04-192-4/+6
|
* Fix a mixed-sign-comparison warning on MSVCChris Robinson2017-04-191-1/+1
|
* Allocate a new context's voices after updating the device paramsChris Robinson2017-04-191-26/+15
|
* Check for the upsampler to determine if HRTF uses HOAChris Robinson2017-04-181-15/+12
|
* Use a different way to get the size of structs with flexible array membersChris Robinson2017-04-185-10/+8
|
* Store the source queue head in the voice to signify loopingChris Robinson2017-04-181-12/+9
| | | | | This removes the need to access a couple more source fields in the mixer, and also makes the looping and queue fields non-atomic.
* Remove unnecessary functions in the JACK backendChris Robinson2017-04-171-19/+8
|
* Store the source prop updates with the mixer voiceChris Robinson2017-04-172-30/+70
| | | | Also move its declaration and rename it for consistency.
* Trace unhandled device reset attributesChris Robinson2017-04-161-111/+109
|
* Correctly handle the attribute array size for alcGetInteger64vSOFTChris Robinson2017-04-151-2/+2
|
* Implement capture support in the OpenSL backendChris Robinson2017-04-151-1/+379
|
* Allow increasing the maximum source limitChris Robinson2017-04-141-15/+59
| | | | | | | | If the requested number of mono and stereo sources exceeds 256, the source limit will be expanded. Any config file setting overrides this. If the device is reset to have fewer sources than are currently allocated, excess sources will remain and be usable as normal, but no more can be generated until enough are delated to go back below the limit.