aboutsummaryrefslogtreecommitdiffstats
path: root/alc/mixer/mixer_c.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Avoid iterators for the main mixerChris Robinson2020-05-011-11/+9
|
* Use a more efficient type for holding the IrSizeChris Robinson2020-04-301-3/+3
|
* Get rid of the specialized MixRow_ methodsChris Robinson2020-04-161-24/+0
|
* Use structs for the mixer and resampler tagsChris Robinson2020-04-031-0/+8
|
* Avoid using ALfloat in the mixer functionsChris Robinson2020-04-031-14/+14
|
* Jump to the target gain if the fade amount is smallChris Robinson2020-04-031-2/+4
|
* Avoid unnecessary duplication in the resamplersChris Robinson2020-04-031-16/+9
|
* Generate the bsinc tables using constexpr methodsChris Robinson2020-04-021-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 storageChris Robinson2020-01-051-2/+2
|
* Don't force the HRIR length to a rounded valueChris Robinson2019-12-111-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-sourceChris Robinson2019-11-031-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 typesChris Robinson2019-10-031-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 ApplyCoeffsChris Robinson2019-10-021-12/+12
|
* Clean up some ALfloat -> floatChris Robinson2019-10-021-25/+23
|
* Repack the bsinc resamplers coefficientsChris Robinson2019-09-291-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 pathChris Robinson2019-09-261-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 unsignedChris Robinson2019-09-171-6/+6
|
* Clean up some more shadowing warningsChris Robinson2019-09-161-3/+4
|
* Fix a few more GCC warningsChris Robinson2019-09-141-1/+1
|
* Fix some more implicit conversions noted by GCCChris Robinson2019-09-141-4/+5
|
* Pass IrSize to the HRTF mixers as unsignedChris Robinson2019-09-131-4/+4
|
* Make the resampler increment unsignedChris Robinson2019-09-131-8/+6
|
* Only ASSUME values where a variable is usedChris Robinson2019-09-041-1/+1
|
* Store the voice fraction offset as unsignedChris Robinson2019-08-311-14/+13
|
* Use size_t for the mixers' fade counter and outposChris Robinson2019-08-201-4/+4
|
* Use size_t for HrtfMixer functions' buffer sizeChris Robinson2019-08-201-4/+4
|
* Pass a span to the Resample functionChris Robinson2019-08-201-17/+15
|
* Pass a span for the Mix function's inputChris Robinson2019-08-201-13/+11
|
* Rename the Mix function input for clarityChris Robinson2019-08-201-4/+4
|
* Pass the MixRow buffer size as a spanChris Robinson2019-08-201-8/+6
|
* Allow using a variable channel stride for MixRowSamplesChris Robinson2019-08-191-5/+6
|
* Don't require MixRow's output to be a FloatBufferLineChris Robinson2019-08-181-1/+1
|
* Don't templatize HrirArrayChris Robinson2019-07-311-1/+1
|
* Rename al/* sources to avoid camel-caseChris Robinson2019-07-291-2/+1
|
* Rename Alc to alcChris Robinson2019-07-281-0/+208