aboutsummaryrefslogtreecommitdiffstats
path: root/core/mixer.h
Commit message (Collapse)AuthorAgeFilesLines
* Use a span for a known array length instead of a raw pointerChris Robinson2023-10-151-2/+2
|
* Store channel positions as vectors instead of anglesChris Robinson2023-09-141-2/+2
| | | | To avoid extraneous conversions between angles and vectors
* Add and use mixers that process one input and output channelChris Robinson2023-01-051-0/+8
|
* Add a simple wrapper to call the mixer functionChris Robinson2023-01-041-2/+8
|
* Simplify handling effect output for spatial effectsChris Robinson2023-01-041-18/+0
| | | | | | | | | | | | Effects are given a 3D ambisonic buffer of the same order as the device, for processing surround sound. Effects that pass input channels to matching output channels as it processes them don't need to mix each input channel to all output channels. At most, an input channel may mix to a different output channel, if the target buffer uses a different channel layout, and need a gain adjustment, if it uses a different scaling. With a 2D output buffer, a number of channels can be skipped altogether.
* Inline and precompute some CalcDirectionCoeffs callsChris Robinson2022-08-181-0/+12
|
* Use proper array sizes for more gainsChris Robinson2022-08-151-1/+1
|
* Move some functions to coreChris Robinson2021-04-251-0/+101
And clean up more includes