aboutsummaryrefslogtreecommitdiffstats
path: root/alc/mixer
Commit message (Collapse)AuthorAgeFilesLines
* Simplify post-mix HRTF gain storageChris Robinson2020-01-055-14/+10
|
* Use size_t for array indicesChris Robinson2019-12-111-6/+7
|
* Don't force the HRIR length to a rounded valueChris Robinson2019-12-113-3/+3
| | | | | The coefficient and accumulation buffers are guaranteed large enough for the full size, and the SIMD handlers will behave the same either way.
* Use unsigned for array indicesChris Robinson2019-11-291-5/+2
|
* Avoid holding HRTF accumulation samples per-sourceChris Robinson2019-11-035-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 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-024-88/+97
|
* Clean up some ALfloat -> floatChris Robinson2019-10-025-68/+62
|
* Move ALvoice from alu.h to a separate headerChris Robinson2019-10-022-4/+13
|
* Repack the bsinc resamplers coefficientsChris Robinson2019-09-293-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 pathChris Robinson2019-09-264-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 unsignedChris Robinson2019-09-173-17/+12
|
* Fix typoChris Robinson2019-09-161-3/+3
|
* Clean up some more shadowing warningsChris Robinson2019-09-163-13/+18
|
* Fix a few more GCC warningsChris Robinson2019-09-141-1/+1
|
* Fix some more implicit conversions noted by GCCChris Robinson2019-09-145-15/+18
|
* Pass IrSize to the HRTF mixers as unsignedChris Robinson2019-09-135-19/+19
|
* Make IrSize unsignedChris Robinson2019-09-131-1/+1
|
* Make the resampler increment unsignedChris Robinson2019-09-136-78/+74
|
* Fix a few more C-style castsChris Robinson2019-09-111-3/+3
|
* Only ASSUME values where a variable is usedChris Robinson2019-09-044-6/+3
|
* Only use one accumulation buffer for B-Format HRTF mixingChris Robinson2019-09-031-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 unsignedChris Robinson2019-08-316-49/+43
|
* Fix a variable declarationChris Robinson2019-08-221-3/+2
|
* Avoid reading from pointers to __m128 valuesChris Robinson2019-08-212-40/+31
|
* Fix NEON store callChris Robinson2019-08-201-1/+1
|
* Use size_t for the mixers' fade counter and outposChris Robinson2019-08-205-20/+19
|
* Use size_t for HrtfMixer functions' buffer sizeChris Robinson2019-08-205-33/+31
|
* Fix MixRow definition for NEONChris Robinson2019-08-201-2/+2
|
* Pass a span to the Resample functionChris Robinson2019-08-206-55/+53
|
* Pass a span for the Mix function's inputChris Robinson2019-08-204-72/+62
|
* Rename the Mix function input for clarityChris Robinson2019-08-204-19/+21
|
* Pass the MixRow buffer size as a spanChris Robinson2019-08-204-38/+31
|
* Allow using a variable channel stride for MixRowSamplesChris Robinson2019-08-194-16/+19
|
* Don't require MixRow's output to be a FloatBufferLineChris Robinson2019-08-184-4/+4
|
* Modify LIKELY and UNLIKELY to not need extra parenthesisChris Robinson2019-08-042-6/+6
|
* Don't templatize HrirArrayChris Robinson2019-07-314-5/+5
|
* Fix a couple ASSUME statementsChris Robinson2019-07-312-2/+2
|
* Use enums for the resampler and mixer template tagsChris Robinson2019-07-311-29/+27
|
* Rename al/* sources to avoid camel-caseChris Robinson2019-07-292-4/+1
|
* Rename Alc to alcChris Robinson2019-07-288-0/+1143