Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Write directly to the output for HRTF | Chris Robinson | 2017-04-27 | 1 | -51/+26 |
| | |||||
* | Implement a limiter on the device output | Chris Robinson | 2017-04-26 | 2 | -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 update | Chris Robinson | 2017-04-26 | 1 | -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 silent | Chris Robinson | 2017-04-25 | 1 | -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 happy | Chris Robinson | 2017-04-21 | 2 | -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 resampler | Chris Robinson | 2017-04-21 | 1 | -1/+2 |
| | |||||
* | Correctly enable the ambisonic upsampler for HOA output | Chris Robinson | 2017-04-21 | 1 | -1/+1 |
| | |||||
* | Add a method to enumerate resamplers | Chris Robinson | 2017-04-21 | 1 | -0/+7 |
| | |||||
* | Store the resampler as part of the source | Chris Robinson | 2017-04-21 | 2 | -3/+3 |
| | |||||
* | Make the default resampler a variable | Chris Robinson | 2017-04-20 | 1 | -8/+9 |
| | |||||
* | Try NEON mixers before SSE | Chris Robinson | 2017-04-20 | 1 | -9/+8 |
| | |||||
* | Make the buffer list next pointer atomic | Chris Robinson | 2017-04-19 | 2 | -4/+6 |
| | |||||
* | Fix a mixed-sign-comparison warning on MSVC | Chris Robinson | 2017-04-19 | 1 | -1/+1 |
| | |||||
* | Allocate a new context's voices after updating the device params | Chris Robinson | 2017-04-19 | 1 | -26/+15 |
| | |||||
* | Check for the upsampler to determine if HRTF uses HOA | Chris Robinson | 2017-04-18 | 1 | -15/+12 |
| | |||||
* | Use a different way to get the size of structs with flexible array members | Chris Robinson | 2017-04-18 | 5 | -10/+8 |
| | |||||
* | Store the source queue head in the voice to signify looping | Chris Robinson | 2017-04-18 | 1 | -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 backend | Chris Robinson | 2017-04-17 | 1 | -19/+8 |
| | |||||
* | Store the source prop updates with the mixer voice | Chris Robinson | 2017-04-17 | 2 | -30/+70 |
| | | | | Also move its declaration and rename it for consistency. | ||||
* | Trace unhandled device reset attributes | Chris Robinson | 2017-04-16 | 1 | -111/+109 |
| | |||||
* | Correctly handle the attribute array size for alcGetInteger64vSOFT | Chris Robinson | 2017-04-15 | 1 | -2/+2 |
| | |||||
* | Implement capture support in the OpenSL backend | Chris Robinson | 2017-04-15 | 1 | -1/+379 |
| | |||||
* | Allow increasing the maximum source limit | Chris Robinson | 2017-04-14 | 1 | -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. | ||||
* | Use separate atomic macros for pointers | Chris Robinson | 2017-04-14 | 6 | -32/+30 |
| | |||||
* | Mark some pointers with restrict | Chris Robinson | 2017-04-13 | 1 | -2/+4 |
| | |||||
* | Use ALsizei for the fir4 resampler fraction | Chris Robinson | 2017-04-12 | 1 | -1/+1 |
| | |||||
* | Select NEON when available before SSE | Chris Robinson | 2017-04-12 | 1 | -4/+4 |
| | |||||
* | Store the ambisonic order separate from the channel enum | Chris Robinson | 2017-04-12 | 17 | -279/+280 |
| | |||||
* | Remove an unnecessary variable | Chris Robinson | 2017-04-11 | 1 | -6/+2 |
| | |||||
* | Use the correct channel conversion functions | Chris Robinson | 2017-04-11 | 1 | -16/+16 |
| | |||||
* | Use the converters to enable mmdevapi capture | Chris Robinson | 2017-04-11 | 1 | -42/+171 |
| | |||||
* | Add a mono<->stereo converter | Chris Robinson | 2017-04-11 | 2 | -0/+134 |
| | | | | This converter always outputs floats, and uses energy-preserving scaling. | ||||
* | Update the given source pointer in the sample converter | Chris Robinson | 2017-04-10 | 2 | -5/+5 |
| | |||||
* | Reduce the size of the temp input buffer | Chris Robinson | 2017-04-10 | 1 | -1/+1 |
| | |||||
* | Trace the capture device format | Chris Robinson | 2017-04-10 | 1 | -0/+4 |
| | |||||
* | Add a sample converter | Chris Robinson | 2017-04-10 | 3 | -10/+375 |
| | | | | | | | | | | 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 API | Chris Robinson | 2017-04-09 | 3 | -179/+284 |
| | |||||
* | Handle the source offset fraction as an ALsizei | Chris Robinson | 2017-04-08 | 8 | -53/+52 |
| | |||||
* | Pre-compute the sinc4 resampler coefficient table | Chris Robinson | 2017-04-08 | 5 | -104/+4112 |
| | |||||
* | Clean up some formatting | Chris Robinson | 2017-04-08 | 1 | -5/+5 |
| | |||||
* | Try to write the full configured buffer length with PulseAudio | Chris Robinson | 2017-04-08 | 1 | -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. | ||||
* | Overwrite the old search path with the new one | Chris Robinson | 2017-04-08 | 1 | -1/+1 |
| | |||||
* | Combine a couple loops | Chris Robinson | 2017-04-07 | 1 | -28/+24 |
| | |||||
* | Make sure malloc succeeded for 'delays' | Chris Robinson | 2017-04-07 | 1 | -2/+2 |
| | |||||
* | Store the HRTF coeffs as a stereo pair | Chris Robinson | 2017-04-07 | 2 | -56/+100 |
| | | | | | This will make it easier to handle HRTF data sets that have separate left and right ear responses. Will need an mhr version update to take advantage of that. | ||||
* | Don't explicitly restore the old HRTF when initializing panning | Chris Robinson | 2017-04-07 | 1 | -12/+0 |
| | | | | Otherwise it won't store the name in the device. | ||||
* | Allocate temp storage for delays when loading HRTFs | Chris Robinson | 2017-04-07 | 1 | -8/+11 |
| | |||||
* | Remove another reference to the sinc8 resampler | Chris Robinson | 2017-04-07 | 1 | -1/+1 |
| | |||||
* | Clean up a comment | Chris Robinson | 2017-04-07 | 1 | -1/+1 |
| | |||||
* | Reference count HRTFs and unload them when unused | Chris Robinson | 2017-04-06 | 4 | -8/+89 |
| |