changeset 1336:9b6f9e20d8c2 trunk

[svn] - math was buggy here, sorry!
author nenolod
date Tue, 27 Jun 2006 19:44:29 -0700
parents 109698f652b9
children e3fc230de951
files ChangeLog Plugins/Input/mpg123/mpg123.c
diffstat 2 files changed, 15 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Jun 27 19:39:52 2006 -0700
+++ b/ChangeLog	Tue Jun 27 19:44:29 2006 -0700
@@ -1,3 +1,17 @@
+2006-06-28 02:39:52 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [1582]
+  - dynamic resampler with interpolation, no special GUI options for it yet though (this replaces the mpg123 "way" of doing it)
+  
+
+  Changes:        Modified:
+  +1 -1           trunk/Plugins/Input/mpg123/Makefile.in  
+  +0 -228         trunk/Plugins/Input/mpg123/decode_2to1.c  
+  +0 -235         trunk/Plugins/Input/mpg123/decode_4to1.c  
+  +0 -282         trunk/Plugins/Input/mpg123/decode_ntom.c  
+  +25 -12         trunk/Plugins/Input/mpg123/mpg123.c  
+  +302 -14        trunk/Plugins/Input/mpg123/mpg123.h  
+
+
 2006-06-27 10:00:41 +0000  Tony Vroon <chainsaw@gentoo.org>
   revision [1580]
   Update translation credits for German (hansmi) & Polish (vojcek).
--- a/Plugins/Input/mpg123/mpg123.c	Tue Jun 27 19:39:52 2006 -0700
+++ b/Plugins/Input/mpg123/mpg123.c	Tue Jun 27 19:44:29 2006 -0700
@@ -737,7 +737,7 @@
 	if (fr.down_sample)
 	{
 	    long n = mpgdec_freqs[fr.sampling_frequency];
-	    long m = n / fr.down_sample;
+	    long m = n / fr.down_sample + 1;
 
 	    mpgdec_synth_ntom_set_step(n, m);