Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid iterators for the main mixer | Chris Robinson | 2020-05-01 | 1 | -11/+9 |
| | |||||
* | Use a more efficient type for holding the IrSize | Chris Robinson | 2020-04-30 | 1 | -3/+3 |
| | |||||
* | Get rid of the specialized MixRow_ methods | Chris Robinson | 2020-04-16 | 1 | -24/+0 |
| | |||||
* | Use structs for the mixer and resampler tags | Chris Robinson | 2020-04-03 | 1 | -0/+8 |
| | |||||
* | Avoid using ALfloat in the mixer functions | Chris Robinson | 2020-04-03 | 1 | -14/+14 |
| | |||||
* | Jump to the target gain if the fade amount is small | Chris Robinson | 2020-04-03 | 1 | -2/+4 |
| | |||||
* | Avoid unnecessary duplication in the resamplers | Chris Robinson | 2020-04-03 | 1 | -16/+9 |
| | |||||
* | Generate the bsinc tables using constexpr methods | Chris Robinson | 2020-04-02 | 1 | -1/+1 |
| | | | | | | | | All the methods used should be compliant with C++14 constexpr rules. However, the number of scales and phases cause GenerateBSincCoeffs to reach the allowed step limit, preventing full compile-time generation. It's not a terribly big deal, it'll generate them very quickly when loading, but it does prevent using shared read-only memory pages. | ||||
* | Simplify post-mix HRTF gain storage | Chris Robinson | 2020-01-05 | 1 | -2/+2 |
| | |||||
* | Don't force the HRIR length to a rounded value | Chris Robinson | 2019-12-11 | 1 | -1/+1 |
| | | | | | The coefficient and accumulation buffers are guaranteed large enough for the full size, and the SIMD handlers will behave the same either way. | ||||
* | Avoid holding HRTF accumulation samples per-source | Chris Robinson | 2019-11-03 | 1 | -10/+5 |
| | | | | | | 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 | 1 | -12/+12 |
| | |||||
* | Clean up some ALfloat -> float | Chris Robinson | 2019-10-02 | 1 | -25/+23 |
| | |||||
* | Repack the bsinc resamplers coefficients | Chris Robinson | 2019-09-29 | 1 | -4/+4 |
| | | | | | | 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 | 1 | -0/+25 |
| | | | | | | | | | | 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 | 1 | -6/+6 |
| | |||||
* | Clean up some more shadowing warnings | Chris Robinson | 2019-09-16 | 1 | -3/+4 |
| | |||||
* | 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 | 1 | -4/+5 |
| | |||||
* | Pass IrSize to the HRTF mixers as unsigned | Chris Robinson | 2019-09-13 | 1 | -4/+4 |
| | |||||
* | Make the resampler increment unsigned | Chris Robinson | 2019-09-13 | 1 | -8/+6 |
| | |||||
* | Only ASSUME values where a variable is used | Chris Robinson | 2019-09-04 | 1 | -1/+1 |
| | |||||
* | Store the voice fraction offset as unsigned | Chris Robinson | 2019-08-31 | 1 | -14/+13 |
| | |||||
* | Use size_t for the mixers' fade counter and outpos | Chris Robinson | 2019-08-20 | 1 | -4/+4 |
| | |||||
* | Use size_t for HrtfMixer functions' buffer size | Chris Robinson | 2019-08-20 | 1 | -4/+4 |
| | |||||
* | Pass a span to the Resample function | Chris Robinson | 2019-08-20 | 1 | -17/+15 |
| | |||||
* | Pass a span for the Mix function's input | Chris Robinson | 2019-08-20 | 1 | -13/+11 |
| | |||||
* | Rename the Mix function input for clarity | Chris Robinson | 2019-08-20 | 1 | -4/+4 |
| | |||||
* | Pass the MixRow buffer size as a span | Chris Robinson | 2019-08-20 | 1 | -8/+6 |
| | |||||
* | Allow using a variable channel stride for MixRowSamples | Chris Robinson | 2019-08-19 | 1 | -5/+6 |
| | |||||
* | Don't require MixRow's output to be a FloatBufferLine | Chris Robinson | 2019-08-18 | 1 | -1/+1 |
| | |||||
* | Don't templatize HrirArray | Chris Robinson | 2019-07-31 | 1 | -1/+1 |
| | |||||
* | Rename al/* sources to avoid camel-case | Chris Robinson | 2019-07-29 | 1 | -2/+1 |
| | |||||
* | Rename Alc to alc | Chris Robinson | 2019-07-28 | 1 | -0/+208 |