>
> Hi Mark,
> 
> My compilation of the DLL 3.68 produces exactly the same result :-(
> May be my compilator isn't well configured for that...
> Does anybody else compile it ?
> 
> Gabriel
> 

You have probably discovered yet another problem, since most
users probably nevever use that code for upsampling.

The clicks that Scott found were cased by short int overflow, but
the new code looks like this:

      value = floor(.5 +
                        -y0*x1*x2*x3/6 + y1*x0*x2*x3/2 - y2*x0*x1*x3/2 +y3*x0*x1*x2/6
                        );
      if (value > 32767) outbuf[k]=32767;
      else if (value < -32767) outbuf[k]=-32767;
      else outbuf[k]=value;

So I dont see how it could overflow?  

If you can send me a sample wav file, I will try and reproduce the problem.

Mark
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )

Reply via email to