std1.0.0-beta-7 SafeC docs

Module dsp::resample_core

#include <std/dsp/resample_core.h> source

resampling core, written once for both sample types.

Internal: included by resample.sc (double samples) and resample_f32.sc (float samples), each its own translation unit. Positions, the kernel and the sums are double either way; only loads and stores use RS_T. The includer defines RS_T and the public names RS_NEAREST, RS_LINEAR, RS_SINC.

Structs

ResampleJob

Functions

RS_NEAREST
RS_LINEAR
RS_SINC

Macros

RS_DMAXEach output is a windowed-sinc sum over the taps k = kStart + t around its source position, with x = srcPos - kStart:
RS_ANCHORexact trig at least this often
RS_TAB