aboutsummaryrefslogtreecommitdiffstats
path: root/core/mixer/mixer_c.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix implicit widening after multiplicationChris Robinson2023-12-231-3/+3
|
* Use a variant instead of a union for InterpStateChris Robinson2023-12-211-23/+43
|
* More clang-tidy fixesChris Robinson2023-12-091-2/+2
|
* Always write samples to the destination when resamplingChris Robinson2023-02-111-32/+17
|
* Assume 'frac' is less than 1Chris Robinson2023-02-101-0/+1
|
* Rename some variables for consistencyChris Robinson2023-02-091-9/+10
|
* Properly mark the cubic coefficients and deltas as restrictChris Robinson2023-02-091-10/+9
|
* Use an interpolated FIR filter for cubic resamplingChris Robinson2023-02-061-9/+26
| | | | | | Similar to how the bsinc filters work, but optimized for 4-point filtering. At least the SSE version is notably faster than calculating the coefficients in real time.
* Ensure the mixer helpers are properly inlinedChris Robinson2023-01-131-2/+3
|
* Combine some duplicate code to mix each channelChris Robinson2023-01-051-56/+35
|
* Add and use mixers that process one input and output channelChris Robinson2023-01-051-0/+35
|
* Rename lerp to avoid conflicts with C++20's std::lerpChris Robinson2022-04-061-1/+1
|
* Adjust the bsinc filter table packingChris Robinson2021-02-231-3/+3
| | | | | | | | Now each scale's filter and phase delta are interleaved for each phase index, followed by the scale and scale+phase delta for each phase index. This ensures no holes in the filter coefficients for the fast bsinc resampler for a given run, while keeping the scale deltas in the same vicinity for the non-fast bsinc resampler.
* Add some optimization hintsChris Robinson2021-02-161-6/+8
|
* Use spans instead of references to arraysChris Robinson2021-02-061-2/+2
|
* Return non-const from the resampler functionChris Robinson2021-01-021-13/+13
|
* Use more constexpr variables instead of macrosChris Robinson2020-12-251-1/+1
|
* Be more consistent with size_tChris Robinson2020-12-121-2/+2
|
* Move the mixer functions to coreChris Robinson2020-12-121-0/+198