Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid holding HRTF accumulation samples per-source | Chris Robinson | 2019-11-03 | 5 | -55/+27 |
| | | | | | | It notably simplifies things to mix HRTF sources into an accumulation buffer together, which the Dry buffer's Ambisonic-to-HRTF decode is then added to, before being mixed to the Real output. | ||||
* | Avoid direct function template and alias types | Chris Robinson | 2019-10-03 | 1 | -2/+2 |
| | | | | | | | It's somewhat ambiguous what they mean. Sometimes acting as a pointer, other times having weird behavior. Pointer-to-function types are explicitly defined as such, whereas uses of these tend to be as references (never null and not changeable). | ||||
* | Remove the Offset parameter from ApplyCoeffs | Chris Robinson | 2019-10-02 | 4 | -88/+97 |
| | |||||
* | Clean up some ALfloat -> float | Chris Robinson | 2019-10-02 | 5 | -68/+62 |
| | |||||
* | Move ALvoice from alu.h to a separate header | Chris Robinson | 2019-10-02 | 2 | -4/+13 |
| | |||||
* | Repack the bsinc resamplers coefficients | Chris Robinson | 2019-09-29 | 3 | -12/+12 |
| | | | | | | This puts the base coefficients and the phase deltas next to each other. This improves caching, as the base and phase deltas are always used together while the scales are only used for the non-fast versions. | ||||
* | Implement a "fast" bsinc path | Chris Robinson | 2019-09-26 | 4 | -1/+118 |
| | | | | | | | | | | This takes advantage of the fact than when increment <= 1 (when not down- sampling), the scale factor is always 0. As a result, the scale and scale-phase deltas never contribute to the filtered output. Removing those multiply+add operations cuts half of the work done by the inner loop. Sounds that do need to down-sample (when played with a high pitch, or is 48khz on 44.1khz output, for example), still go through the normal bsinc process. | ||||
* | Make the bsinc l and m coefficients unsigned | Chris Robinson | 2019-09-17 | 3 | -17/+12 |
| | |||||
* | Fix typo | Chris Robinson | 2019-09-16 | 1 | -3/+3 |
| | |||||
* | Clean up some more shadowing warnings | Chris Robinson | 2019-09-16 | 3 | -13/+18 |
| | |||||
* | Fix a few more GCC warnings | Chris Robinson | 2019-09-14 | 1 | -1/+1 |
| | |||||
* | Fix some more implicit conversions noted by GCC | Chris Robinson | 2019-09-14 | 5 | -15/+18 |
| | |||||
* | Pass IrSize to the HRTF mixers as unsigned | Chris Robinson | 2019-09-13 | 5 | -19/+19 |
| | |||||
* | Make IrSize unsigned | Chris Robinson | 2019-09-13 | 1 | -1/+1 |
| | |||||
* | Make the resampler increment unsigned | Chris Robinson | 2019-09-13 | 6 | -78/+74 |
| | |||||
* | Fix a few more C-style casts | Chris Robinson | 2019-09-11 | 1 | -3/+3 |
| | |||||
* | Only ASSUME values where a variable is used | Chris Robinson | 2019-09-04 | 4 | -6/+3 |
| | |||||
* | Only use one accumulation buffer for B-Format HRTF mixing | Chris Robinson | 2019-09-03 | 1 | -15/+11 |
| | | | | | It's all getting added together anyway and all channels are continuous inputs, so this is fewer passes over various buffers. | ||||
* | Store the voice fraction offset as unsigned | Chris Robinson | 2019-08-31 | 6 | -49/+43 |
| | |||||
* | Fix a variable declaration | Chris Robinson | 2019-08-22 | 1 | -3/+2 |
| | |||||
* | Avoid reading from pointers to __m128 values | Chris Robinson | 2019-08-21 | 2 | -40/+31 |
| | |||||
* | Fix NEON store call | Chris Robinson | 2019-08-20 | 1 | -1/+1 |
| | |||||
* | Use size_t for the mixers' fade counter and outpos | Chris Robinson | 2019-08-20 | 5 | -20/+19 |
| | |||||
* | Use size_t for HrtfMixer functions' buffer size | Chris Robinson | 2019-08-20 | 5 | -33/+31 |
| | |||||
* | Fix MixRow definition for NEON | Chris Robinson | 2019-08-20 | 1 | -2/+2 |
| | |||||
* | Pass a span to the Resample function | Chris Robinson | 2019-08-20 | 6 | -55/+53 |
| | |||||
* | Pass a span for the Mix function's input | Chris Robinson | 2019-08-20 | 4 | -72/+62 |
| | |||||
* | Rename the Mix function input for clarity | Chris Robinson | 2019-08-20 | 4 | -19/+21 |
| | |||||
* | Pass the MixRow buffer size as a span | Chris Robinson | 2019-08-20 | 4 | -38/+31 |
| | |||||
* | Allow using a variable channel stride for MixRowSamples | Chris Robinson | 2019-08-19 | 4 | -16/+19 |
| | |||||
* | Don't require MixRow's output to be a FloatBufferLine | Chris Robinson | 2019-08-18 | 4 | -4/+4 |
| | |||||
* | Modify LIKELY and UNLIKELY to not need extra parenthesis | Chris Robinson | 2019-08-04 | 2 | -6/+6 |
| | |||||
* | Don't templatize HrirArray | Chris Robinson | 2019-07-31 | 4 | -5/+5 |
| | |||||
* | Fix a couple ASSUME statements | Chris Robinson | 2019-07-31 | 2 | -2/+2 |
| | |||||
* | Use enums for the resampler and mixer template tags | Chris Robinson | 2019-07-31 | 1 | -29/+27 |
| | |||||
* | Rename al/* sources to avoid camel-case | Chris Robinson | 2019-07-29 | 2 | -4/+1 |
| | |||||
* | Rename Alc to alc | Chris Robinson | 2019-07-28 | 8 | -0/+1143 |