89
99
static int64_t get_delay(struct SwrContext *s, int64_t base){
91
108
return (int64_t)(delay_s * base + .5);
94
111
static int invert_initial_buffer(struct ResampleContext *c, AudioData *dst, const AudioData *src,
100
126
struct Resampler const swri_soxr_resampler={
101
127
create, destroy, process, flush, NULL /* set_compensation */, get_delay,