diff resample.c @ 4712:5c0c96d437f2 libavcodec

set more reasonable cutoff for audio rate conversion
author michael
date Thu, 22 Mar 2007 14:27:16 +0000
parents c8c591fe26f8
children 45d083bbbbe7
line wrap: on
line diff
--- a/resample.c	Thu Mar 22 13:27:11 2007 +0000
+++ b/resample.c	Thu Mar 22 14:27:16 2007 +0000
@@ -161,7 +161,8 @@
     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;
 }