rem: ECA_PROCESSOR emain (&esession);
add: ECA_ENGINE emain (&esession);
context: int main(int argc, char *argv[]){#ifdef NDEBUG  ecadebug->disable();#else  ecadebug->set_debug_level(ECA_DEBUG::info |			    ECA_DEBUG::module_flow);#endif  COMMAND_LINE cline = COMMAND_LINE (argc, argv);  if (cline.size() < 2) {    print_usage();    return(1);  }  try {    string filename;    ECA_SESSION esession;    ECA_CONTROL ectrl (&esession);    ECA_AUDIO_FORMAT aio_params;    cline.begin();    cline.next(); // skip the program name    string extension (".raw");    if (cline.end() != true) {      extension = cline.current();      cline.next();    }    while(cline.end() != true) {      filename = cline.current();      std::cerr << "Converting file \"" << filename << "\" --> ";      std::cerr << "\"" << filename + extension << "\"." << std::endl;      ectrl.add_chainsetup("default");      ectrl.add_chain("default");      ectrl.add_audio_input(filename);      if (ectrl.get_audio_input() == 0) {	std::cerr << "---\nError while processing file " << filename << ". Exiting...\n";	break;      }      ectrl.set_default_audio_format_to_selected();      aio_params = ectrl.default_audio_format();      ectrl.set_chainsetup_parameter("-sr:" + kvu_numtostr(aio_params.samples_per_second()));      ectrl.add_audio_output(filename + extension);      if (ectrl.get_audio_output() == 0) {	std::cerr << "---\nError while processing file " << filename + extension << ". Exiting...\n";	break;      }      ectrl.connect_chainsetup();      if (ectrl.is_connected() == false) {	std::cerr << "---\nError while converting file " << filename << ". Exiting...\n";	break;      }      ECA_PROCESSOR emain (&esession);            emain.exec();      ectrl.disconnect_chainsetup();      ectrl.remove_chainsetup();      cline.next();    }  }  catch(ECA_ERROR& e) {    std::cerr << "---\nERROR: [" << e.error_section() << "] : \"" << e.error_message() << "\"\n\n";  }  catch(...) {    std::cerr << "\nCaught an unknown exception.\n";  }  return(0);}