Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Load embedded HRTF entries as-needed | Chris Robinson | 2017-04-06 | 1 | -58/+59 | |
| | ||||||
* | Fix an incorrect message | Chris Robinson | 2017-04-05 | 1 | -10/+13 | |
| | ||||||
* | Load HRTF files as needed | Chris Robinson | 2017-04-05 | 4 | -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 entry | Chris Robinson | 2017-04-05 | 4 | -60/+64 | |
| | ||||||
* | Store the HRTF's filename separate from the entry storage | Chris Robinson | 2017-04-05 | 2 | -48/+72 | |
| | ||||||
* | Rename al_string_* functions to alstr_* | Chris Robinson | 2017-04-04 | 23 | -350/+348 | |
| | ||||||
* | Recognize %-encoded characters for config section names | Chris Robinson | 2017-04-01 | 1 | -1/+55 | |
| | ||||||
* | Remove a couple unused macros | Chris Robinson | 2017-04-01 | 1 | -18/+0 | |
| | ||||||
* | Don't rely on sizeof being the offset to a struct's unsized array | Chris Robinson | 2017-04-01 | 1 | -2/+3 | |
| | ||||||
* | Constify a variable | Chris Robinson | 2017-04-01 | 1 | -3/+3 | |
| | ||||||
* | Make a pointer restrict and assume aligned | Chris Robinson | 2017-04-01 | 1 | -1/+1 | |
| | ||||||
* | Avoid some unnecessary string reallocation | Chris Robinson | 2017-03-31 | 1 | -51/+50 | |
| | ||||||
* | Convert float samples to integer using a power-of-2 multiple | Chris Robinson | 2017-03-31 | 1 | -13/+9 | |
| | ||||||
* | Convert integer samples to float using a power-of-2 divisor | Chris Robinson | 2017-03-31 | 1 | -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 floats | Chris Robinson | 2017-03-31 | 2 | -39/+48 | |
| | ||||||
* | Combine some HRTF loading code | Chris Robinson | 2017-03-31 | 1 | -78/+72 | |
| | ||||||
* | Use the correct types' sizes for HRTF storage | Chris Robinson | 2017-03-31 | 1 | -8/+8 | |
| | ||||||
* | Make ReleaseContext return if any contexts still remain | Chris Robinson | 2017-03-28 | 1 | -10/+25 | |
| | ||||||
* | Use an array of pointers for effects instead of a linked list | Chris Robinson | 2017-03-27 | 2 | -20/+26 | |
| | ||||||
* | Fix HRTF interpolated gain calculation | Chris Robinson | 2017-03-26 | 1 | -2/+2 | |
| | ||||||
* | Use a loop to apply NFC filters | Chris Robinson | 2017-03-25 | 1 | -30/+15 | |
| | ||||||
* | Use ALsizei for more index lookups | Chris Robinson | 2017-03-24 | 1 | -15/+15 | |
| | ||||||
* | Properly calculate the echo damping | Chris Robinson | 2017-03-24 | 1 | -1/+1 | |
| | ||||||
* | Fix setting Ambi formats for loopback devices | Chris Robinson | 2017-03-21 | 1 | -1/+1 | |
| | ||||||
* | Use an atomic flag to test if a source needs to update | Chris Robinson | 2017-03-20 | 1 | -1/+1 | |
| | ||||||
* | Make DataPosInt an ALsizei | Chris Robinson | 2017-03-20 | 1 | -15/+16 | |
| | ||||||
* | Use proper bools for boolean states | Chris Robinson | 2017-03-20 | 1 | -12/+11 | |
| | ||||||
* | Don't defer source state or offset changes | Chris Robinson | 2017-03-19 | 1 | -32/+3 | |
| | ||||||
* | Fix alcGetInteger64vSOFT to handle ambisonic attributes | Chris Robinson | 2017-03-18 | 1 | -14/+28 | |
| | ||||||
* | Replace a couple ALuint with ALsizei | Chris Robinson | 2017-03-17 | 1 | -2/+2 | |
| | ||||||
* | Fix NFC filter to set the correct center frequency | Chris Robinson | 2017-03-16 | 1 | -13/+9 | |
| | ||||||
* | Increase the filter slope to -12dB/octave | Chris Robinson | 2017-03-16 | 2 | -9/+9 | |
| | ||||||
* | Check usability of MixHrtf_Neon before MixHrtf_SSE | Chris Robinson | 2017-03-14 | 1 | -4/+4 | |
| | ||||||
* | Remove a couple unneeded typedefs | Chris Robinson | 2017-03-14 | 1 | -23/+25 | |
| | ||||||
* | Store the HRIR coeff pointer and delays directly in MixHrtfParams | Chris Robinson | 2017-03-12 | 3 | -7/+12 | |
| | ||||||
* | Rework HRTF coefficient fading | Chris Robinson | 2017-03-11 | 9 | -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 bitflag | Chris Robinson | 2017-03-11 | 1 | -2/+2 | |
| |