X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fechocancel%2Fechocancel.C;h=f1ff269ed6cc2881777e27a8ef8abb229f6554f7;hb=f007a674187f11ab58a5aebfe1eec27a90398bcb;hp=31c4dc4ec42d01f7e1ef8c7a48e02c7fb676385a;hpb=21c2e6b36d6a96c2f662a89459d607b5a387f4eb;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/echocancel/echocancel.C b/cinelerra-5.1/plugins/echocancel/echocancel.C index 31c4dc4e..f1ff269e 100644 --- a/cinelerra-5.1/plugins/echocancel/echocancel.C +++ b/cinelerra-5.1/plugins/echocancel/echocancel.C @@ -25,7 +25,7 @@ #include "bchash.h" #include "filexml.h" #include "language.h" -#include "cicolors.h" +#include "bccolors.h" #include "samples.h" #include "echocancel.h" #include "theme.h" @@ -720,7 +720,7 @@ remove(int len) sample_data -= len; } -const char* EchoCancel::plugin_title() { return _("EchoCancel"); } +const char* EchoCancel::plugin_title() { return N_("EchoCancel"); } int EchoCancel::is_realtime() { return 1; } static inline double sqr(double v) { return v*v; } @@ -743,7 +743,7 @@ static inline void cx_product(int n, int sf, double *rp, double *ip, static inline void cj_product(int n, int sf, double *rp, double *ip, double *arp, double *aip, double *brp, double *bip) { - int m = !sf ? n : n/2, i = 0; + int m = !sf ? n-1 : n/2, i = 0; while( i <= m ) { double ar = arp[i], ai = aip[i]; double br = brp[i], bi = -bip[i];