Nearest fractional interpolator.
More...
#include <JPLSpatial/Auralization/FractionalDelay.h>
Nearest fractional interpolator.
◆ NearestInterpolator()
| JPL::NearestInterpolator::NearestInterpolator |
( |
| ) |
|
|
default |
◆ GetFraction()
| float JPL::NearestInterpolator::GetFraction |
( |
| ) |
const |
|
inline |
◆ Process() [1/2]
| float JPL::NearestInterpolator::Process |
( |
float | data | ) |
const |
|
inlinenoexcept |
◆ Process() [2/2]
| float JPL::NearestInterpolator::Process |
( |
std::span< const float, InputLength > | data | ) |
const |
|
inlinenoexcept |
Process one taken from the integer tap of the delay line.
- Parameters
-
| data | must point to contiguous buffer of one sample. |
◆ SetFraction()
| void JPL::NearestInterpolator::SetFraction |
( |
float | fraction | ) |
|
|
inline |
- Parameters
-
| fraction | Fractional offset in [0, 1]; ignored by nearest interpolation. |
◆ InputLength
| uint32 JPL::NearestInterpolator::InputLength = 1 |
|
staticconstexpr |
The documentation for this class was generated from the following file: