Lines Matching defs:out_sample_rate
56 int64_t out_ch_layout, enum AVSampleFormat out_sample_fmt, int out_sample_rate,
67 av_opt_set_int(s, "osr", out_sample_rate, 0);
208 s->outpts = s->firstpts_in_samples * s->out_sample_rate;
220 if (s->out_sample_rate!=s->in_sample_rate || (s->flags & SWR_FLAG_RESAMPLE)){
221 s->resample = s->resampler->init(s->resample, s->out_sample_rate, s->in_sample_rate, s->filter_size, s->phase_shift, s->linear_interp, s->cutoff, s->int_sample_fmt, s->filter_type, s->kaiser_beta, s->precision, s->cheby);
258 s->resample_first= RSC*s->out.ch_count/s->in.ch_count - RSC < s->out_sample_rate/(float)s-> in_sample_rate - 1.0;
499 // in_max= out_count*(int64_t)s->in_sample_rate / s->out_sample_rate + resample_filter_taps;
796 return (s->outpts = pts - swr_get_delay(s, s->in_sample_rate * (int64_t)s->out_sample_rate));
798 int64_t delta = pts - swr_get_delay(s, s->in_sample_rate * (int64_t)s->out_sample_rate) - s->outpts + s->drop_output*(int64_t)s->in_sample_rate;
799 double fdelta = delta /(double)(s->in_sample_rate * (int64_t)s->out_sample_rate);
804 if(delta > 0) ret = swr_inject_silence(s, delta / s->out_sample_rate);
810 int duration = s->out_sample_rate * s->soft_compensation_duration;