rem: memcpy(current->inports_rep[n].cb_buffer, in_cb_buffer, current->cb_nframes_rep * sizeof(sample_t));
add: memcpy(current->inports_rep[n].cb_buffer, in_cb_buffer, current->buffersize_rep * sizeof(sample_t));
context: static int eca_jack_process(nframes_t nframes, void *arg){  AUDIO_IO_JACK_MANAGER* current = static_cast<AUDIO_IO_JACK_MANAGER*>(arg);  DBC_CHECK(current->shutdown_request_rep != true);  if (current->active_rep == true) {    DEBUG_CFLOW_STATEMENT(std::cerr << std::endl << "process1 entry --> ");    for(size_t n = 0; n < current->inports_rep.size(); n++) {      if (current->inports_rep[n].cb_buffer != 0) {	sample_t* in_cb_buffer = static_cast<sample_t*>(jack_port_get_buffer(current->inports_rep[n].jackport, nframes));	memcpy(current->inports_rep[n].cb_buffer, in_cb_buffer, current->cb_nframes_rep * sizeof(sample_t));      }    }    DEBUG_CFLOW_STATEMENT(std::cerr << std::endl << "process2");    current->cb_nframes_rep = static_cast<long int>(nframes);    current->signal_token();    DEBUG_CFLOW_STATEMENT(std::cerr << std::endl << "process3");    if (current->wait_for_completion() != true) {      ecadebug->msg(ECA_DEBUG::info, "(audioio-jack-manager) ecasound didn't return token; stopping!");      current->shutdown_request_rep = true;    }    else {      DEBUG_CFLOW_STATEMENT(std::cerr << std::endl << "process3 last node -- ");      for(size_t n = 0; n < current->outports_rep.size(); n++) {	if (current->outports_rep[n].cb_buffer != 0) {	  sample_t* out_cb_buffer = static_cast<sample_t*>(jack_port_get_buffer(current->outports_rep[n].jackport, nframes));	  // std::cerr << "(audioio_jack_manager) portbuf=" << out_cb_buffer << ", count=" << current->cb_nframes_rep << std::endl;	  memcpy(out_cb_buffer, current->outports_rep[n].cb_buffer, current->cb_nframes_rep * sizeof(sample_t));	}      }    }#if 0     {       static int n = 0;       if (n++ == 512) { 	std::cerr << "*** (audioio_jack_manager) JACK: timeout ***\n"; 	usleep(40000);       }     }#endif    DEBUG_CFLOW_STATEMENT(std::cerr << std::endl << "process4 exit <--");  }  return(0);}