aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alu.h
Commit message (Collapse)AuthorAgeFilesLines
* Change a couple functions into member functionsChris Robinson2020-08-071-5/+0
|
* Reduce the MAX_PITCH to 10Chris Robinson2020-06-291-1/+1
| | | | | 255 is insanely overkill. The bsinc resamplers fade to silence after a few octaves, and the others would be a mess.
* Use a helper to set an identity ambisonic panChris Robinson2020-05-031-4/+15
|
* Avoid an unnecessary out parameterChris Robinson2020-04-211-8/+8
|
* Move a type to where it's usedChris Robinson2020-04-161-3/+0
|
* Get rid of the specialized MixRow_ methodsChris Robinson2020-04-161-3/+0
|
* Use standard attribute declarationsChris Robinson2020-04-131-2/+1
|
* Clean up some more unnecessary uses of AL typesChris Robinson2020-04-081-1/+2
|
* Some more ALfloat->float cleanupChris Robinson2020-04-031-17/+17
|
* Reduce the maximum number of source sends to 6Chris Robinson2020-02-251-1/+1
|
* Handle padding between device sample framesChris Robinson2019-12-211-1/+2
| | | | | | | | The padding must be constant and sample type aligned (e.g. some fixed multiple of two bytes between the start of two consecutive frames for 16-bit output). The intent is to always have the ability for stereo output with WASAPI even if the device has some other unsupported configuration, as long as front-left and front-right exist.
* Use a span instead of a reference-to-arrayChris Robinson2019-10-051-8/+11
|
* Clean up some unnecessary includesChris Robinson2019-10-021-16/+0
|
* Move ALvoice from alu.h to a separate headerChris Robinson2019-10-021-283/+4
|
* Move a couple types to the source they're used inChris Robinson2019-10-021-6/+0
|
* Modify the bsinc resamplerChris Robinson2019-09-291-1/+1
| | | | | Readjusted the bsinc12 cutoff back to -60dB. Also increased the filter's phase count.
* Make the BSincTables constexpr in an anonymous namespaceChris Robinson2019-09-281-1/+0
|
* Make MAX_RESAMPLER_PADDING specify the total paddingChris Robinson2019-09-281-1/+1
|
* Combine two function calls into oneChris Robinson2019-09-281-7/+2
|
* Add "fast" variants for the bsinc resamplersChris Robinson2019-09-281-0/+2
| | | | | | This simply omits the scale factor from the filter, similar to how up-sampling does. The consequence of this is less smooth transitions when ramping the pitch while down-sampling, but otherwise behaves fine.
* Implement a "fast" bsinc pathChris Robinson2019-09-261-1/+1
| | | | | | | | | | 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 resampler type an enum classChris Robinson2019-09-221-8/+8
|
* Make the bsinc l and m coefficients unsignedChris Robinson2019-09-171-2/+2
|
* Pass IrSize to the HRTF mixers as unsignedChris Robinson2019-09-131-2/+2
|
* Make the resampler increment unsignedChris Robinson2019-09-131-1/+1
|
* Clean up sample converter implicit conversionsChris Robinson2019-09-121-1/+1
|
* Clean up implicit conversions in source.cppChris Robinson2019-09-121-2/+2
|
* Use a normal vector for the voices arrayChris Robinson2019-09-041-0/+1
|
* Store the voice fraction offset as unsignedChris Robinson2019-08-311-2/+2
|
* Make MixVoice a member functionChris Robinson2019-08-311-2/+2
|
* Pass unsigned sample count to aluMixDataChris Robinson2019-08-251-1/+1
|
* Use size_t for the mixers' fade counter and outposChris Robinson2019-08-201-3/+3
|
* Use size_t for HrtfMixer functions' buffer sizeChris Robinson2019-08-201-3/+3
|
* Pass a span to the Resample functionChris Robinson2019-08-201-3/+2
|
* Track the MixVoice sample count and fade counter as unsignedChris Robinson2019-08-201-1/+1
|
* Pass a span for the Mix function's inputChris Robinson2019-08-201-3/+3
|
* Rename the Mix function input for clarityChris Robinson2019-08-201-1/+1
|
* Pass the MixRow buffer size as a spanChris Robinson2019-08-201-2/+2
|
* Allow using a variable channel stride for MixRowSamplesChris Robinson2019-08-191-3/+2
|
* Don't require MixRow's output to be a FloatBufferLineChris Robinson2019-08-181-1/+1
|
* Make the post-process methods member functionsChris Robinson2019-08-071-5/+0
|
* Update some includesChris Robinson2019-08-051-0/+1
|
* Remove the ReverbSpeedOfSound hackChris Robinson2019-08-051-1/+0
| | | | | | | No other effect depends on context or listener properties, so reverb being the only exception for speed of sound and meters per unit was putting extra work on the effect engine for no real reason. Especially since the reverb decay time should be the time actual time to decay irrespective of other settings.
* Don't templatize HrirArrayChris Robinson2019-07-311-1/+1
|
* Rename al/* sources to avoid camel-caseChris Robinson2019-07-291-1/+1
|
* More include cleanupsChris Robinson2019-07-281-2/+2
|
* Rename Alc to alcChris Robinson2019-07-281-0/+466