aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alu.h
Commit message (Collapse)AuthorAgeFilesLines
* Move some functions to coreChris Robinson2021-04-251-85/+0
| | | | And clean up more includes
* More include cleanupChris Robinson2021-04-241-4/+3
|
* Move the WetBuffer reference to EffectSlotChris Robinson2020-12-271-2/+2
|
* Move some HRTF definitions to a separate headerChris Robinson2020-12-121-2/+0
|
* Move ambidefs.h to coreChris Robinson2020-12-121-1/+1
|
* Change some macros into constexpr variablesChris Robinson2020-12-041-4/+4
|
* Avoid a global MAX_PITCH macroChris Robinson2020-12-041-1/+0
|
* Move lerp/cubic to alnumeric.hChris Robinson2020-12-041-13/+0
|
* Move some declarations to more appropriate headersChris Robinson2020-11-271-8/+5
|
* Use BufferStorage for the buffer queueChris Robinson2020-11-191-1/+0
|
* Store the wet buffers in the contextChris Robinson2020-11-021-1/+2
| | | | | | This is rather ugly, but we need the wet buffers to remain allocated after its effect slot is deleted, because a voice can still use it for its final fade-out mix.
* Replace the mixer fraction macros with constexpr variablesChris Robinson2020-10-211-3/+4
|
* Replace some more macros with constexpr variablesChris Robinson2020-10-211-6/+6
|
* 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
|