Lines Matching defs:resample
233 ReSampleContext *resample; /* for audio resampling */
1028 if ((ost->audio_resample && !ost->resample) || resample_changed) {
1037 if (ost->resample)
1038 audio_resample_close(ost->resample);
1045 ost->resample = NULL;
1050 ost->resample = av_audio_resample_init(enc->channels, dec->channels,
1054 if (!ost->resample) {
1055 av_log(NULL, AV_LOG_FATAL, "Can not resample %d channels @ %d Hz to %d channels @ %d Hz\n",
1085 // FIXME resample delay
1119 av_resample_compensate(*(struct AVResampleContext**)ost->resample, comp, enc->sample_rate);
1128 size_out = audio_resample(ost->resample,
2888 if (ost->resample)
2889 audio_resample_close(ost->resample);