Function ::kfr_src_create_f32¶
function kfr_src_create_f32(KFR_SRC_QUALITY, int64_t, int64_t, kfr_f32, kfr_f32) capi¶
KFR_SRC_F32* kfr_src_create_f32(KFR_SRC_QUALITY quality, int64_t interpolation_factor,
int64_t decimation_factor, kfr_f32 scale, kfr_f32 cutoff) Creates a single-precision sample rate converter from a quality preset.
| quality | Quality preset. |
| interpolation_factor | Interpolation factor. Must be greater than zero. |
| decimation_factor | Decimation factor. Must be greater than zero. |
| scale | Output scale factor. |
| cutoff | Cutoff frequency as a fraction of the Nyquist frequency. |
| New converter, or NULL on error. Release it with kfr_src_delete_f32(). |
Fully qualified name: kfr_src_create_f32(KFR_SRC_QUALITY, int64_t, int64_t, kfr_f32, kfr_f32)
Declared at capi.h:1495