rem: for(int n = 1; n < static_cast<int>(cline.size()); n++) { filename = cline[n];
add: cline.begin(); while(cline.end() == false) { filename = cline.current();
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_CONTROLLER ectrl (&esession);    ECA_PROCESSOR emain;    ECA_AUDIO_FORMAT aio_params;    for(int n = 1; n < static_cast<int>(cline.size()); n++) {      filename = cline[n];      cerr << "Playing file \"" << filename << "\".\n";      ectrl.add_chainsetup("default");      ectrl.add_chain("default");      ectrl.add_audio_input(filename);      aio_params = ectrl.get_audio_format();      ectrl.set_default_audio_format(&aio_params);      ectrl.set_chainsetup_parameter("-sr:" + kvu_numtostr(aio_params.samples_per_second()));      ectrl.add_default_output();      ectrl.connect_chainsetup();      if (ectrl.is_connected() == false) {	cerr << "---\nError while playing file " << filename << ". Exiting...\n";	break;      }            emain.init(&esession);      emain.exec();      ectrl.disconnect_chainsetup();      ectrl.remove_chainsetup();    }  }  catch(ECA_ERROR* e) {    cerr << "---\nERROR: [" << e->error_section() << "] : \"" << e->error_msg() << "\"\n\n";  }  catch(...) {    cerr << "\nCaught an unknown exception.\n";  }  return(0);}