Public bug reported:

Binary package hint: audacious-plugins-extra

I just came across (and fixed) a bug in SndStretch, running the plugin
in Audacious on Hardy.  I was experiencing crashes when incrementing the
"Scale" parameter from -2.00 to 0.00.  It seems the root of the problem
was that two floating point numbers were being compared with ==.  As a
result, "snr_scale_i" and "snr_scale_o" would get set to -65535 and
65536, rather than 65536 and 65536.  To fix the problem, I changed line
1155 of sndstretch.c from:

    if ( pitch_eff!=1.0 ){

to:

    if ( fabs(pitch_eff-1.0)>0.001 ){

That fixed the problem.

I have also reported this problem to the author of SndStretch, Florian
Berger.

** Affects: audacious-plugins (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Crash in SndStretch plugin when adjusting "Scale" parameter
https://bugs.launchpad.net/bugs/236362
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to