#include "bchash.h"
#include "filexml.h"
#include "language.h"
-#include "cicolors.h"
+#include "bccolors.h"
#include "samples.h"
#include "echocancel.h"
#include "theme.h"
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; }
{
int result;
FileXML input;
- input.set_shared_input(keyframe->get_data(), strlen(keyframe->get_data()));
+ input.set_shared_input(keyframe->xbuf);
while(!(result = input.read_tag()) ) {
if( !input.tag.title_is("ECHOCANCEL")) continue;
void EchoCancel::save_data(KeyFrame *keyframe)
{
FileXML output;
- output.set_shared_output(keyframe->get_data(), MESSAGESIZE);
+ output.set_shared_output(keyframe->xbuf);
output.tag.set_title("ECHOCANCEL");
output.tag.set_property("LEVEL", config.level);