aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Write directly to the output for HRTFChris Robinson2017-04-271-51/+26
|
* Document the output-limiter config optionChris Robinson2017-04-263-4/+47
| | | | Expose it in alsoft-config as well.
* Implement a limiter on the device outputChris Robinson2017-04-263-4/+72
| | | | | | 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).
* Compile with -fno-math-errno when availableChris Robinson2017-04-261-0/+5
| | | | Helps GCC to inline some fp functions, e.g. lrintf
* 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-215-19/+42
| | | | | | | | 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.
* Use more sensible values for the source resampler enumsChris Robinson2017-04-211-4/+4
|
* Add the ability to change the source resamplerChris Robinson2017-04-212-1/+24
|
* Correctly enable the ambisonic upsampler for HOA outputChris Robinson2017-04-211-1/+1
|
* Add a method to enumerate resamplersChris Robinson2017-04-214-0/+112
|
* Store the resampler as part of the sourceChris Robinson2017-04-215-17/+22
|
* Make the default resampler a variableChris Robinson2017-04-202-10/+10
|
* Try NEON mixers before SSEChris Robinson2017-04-201-9/+8
|
* Missed a raw atomic variable accessChris Robinson2017-04-201-2/+3
|
* Make the buffer list next pointer atomicChris Robinson2017-04-194-32/+40
|
* 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-192-26/+16
|
* 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-188-17/+17
|
* Store the source queue head in the voice to signify loopingChris Robinson2017-04-184-163/+153
| | | | | 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-175-132/+154
| | | | Also move its declaration and rename it for consistency.
* Close some gaps in enum valuesChris Robinson2017-04-161-2/+2
|
* Trace unhandled device reset attributesChris Robinson2017-04-161-111/+109
|
* Remove some unnecessary parenthesisChris Robinson2017-04-161-1/+1
|
* 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-144-19/+69
| | | | | | | | 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.
* Move internal headers out of the include directoryChris Robinson2017-04-1410-1/+1
|
* Avoid unnecessary macro parametersChris Robinson2017-04-141-13/+11
|
* Use separate atomic macros for pointersChris Robinson2017-04-1411-108/+135
|
* Use atomic flags for the thunk arrayChris Robinson2017-04-141-9/+12
|
* Mark some pointers with restrictChris Robinson2017-04-131-2/+4
|
* Use ALsizei for the fir4 resampler fractionChris Robinson2017-04-122-2/+2
|
* Select NEON when available before SSEChris Robinson2017-04-121-4/+4
|
* Store the ambisonic order separate from the channel enumChris Robinson2017-04-1218-287/+285
|
* Remove an unnecessary variableChris Robinson2017-04-111-6/+2
|
* Use the correct channel conversion functionsChris Robinson2017-04-111-16/+16
|
* Use the converters to enable mmdevapi captureChris Robinson2017-04-111-42/+171
|
* Add a mono<->stereo converterChris Robinson2017-04-112-0/+134
| | | | This converter always outputs floats, and uses energy-preserving scaling.
* Update the given source pointer in the sample converterChris Robinson2017-04-102-5/+5
|
* Reduce the size of the temp input bufferChris Robinson2017-04-101-1/+1
|
* Trace the capture device formatChris Robinson2017-04-101-0/+4
|
* Add a sample converterChris Robinson2017-04-105-10/+386
| | | | | | | | | | This is intended to do conversions for interleaved samples, and supports changing from one DevFmtType to another as well as resampling. It does not handle remixing channels. The mixer is more optimized to use the resampling functions directly. However, this should prove useful for recording with certain backends that won't do the conversion themselves.
* Convert the CoreAudio backend to the updated backend APIChris Robinson2017-04-094-182/+284
|
* Handle the source offset fraction as an ALsizeiChris Robinson2017-04-0810-62/+63
|
* Pre-compute the sinc4 resampler coefficient tableChris Robinson2017-04-087-109/+4154
|
* Clean up some formattingChris Robinson2017-04-081-5/+5
|
* Try to write the full configured buffer length with PulseAudioChris Robinson2017-04-081-15/+37
| | | | | This basically ignores tlength even if it's smaller than what was requested. It keeps up-to-date with minreq changes too now, in case that happens.