/*
- * Sample rate convertion for both audio and video
+ * samplerate conversion for both audio and video
* Copyright (c) 2000 Fabrice Bellard.
*
* This file is part of FFmpeg.
/**
* @file resample.c
- * Sample rate convertion for both audio and video.
+ * samplerate conversion for both audio and video
*/
#include "avcodec.h"
if(s->filter_channels>2)
s->filter_channels = 2;
- s->resample_context= av_resample_init(output_rate, input_rate, 16, 10, 0, 1.0);
+#define TAPS 16
+ s->resample_context= av_resample_init(output_rate, input_rate, TAPS, 10, 0, 0.8);
return s;
}