sonic_lite.c
static int copyInputToOutput(int position) {
  int numSamples = sonicStream.remainingInputToCopy;

  if (numSamples > 2 * SONIC_MAX_PERIOD) {
    numSamples = 2 * SONIC_MAX_PERIOD;
  }
  copyToOutput(sonicStream.inputBuffer + position, numSamples);
  sonicStream.remainingInputToCopy -= numSamples;
  return numSamples;
}
/* Just copy from the input buffer to the output buffer. */
Just copy from the input buffer to the output buffer.
Just copy from the input buffer to the output buffer .
static int copyInputToOutput(int position) {
  int numSamples = sonicStream.remainingInputToCopy;
  if (numSamples > 2 * SONIC_MAX_PERIOD) {
    numSamples = 2 * SONIC_MAX_PERIOD;
  }
  copyToOutput(sonicStream.inputBuffer + position, numSamples);
  sonicStream.remainingInputToCopy -= numSamples;
  return numSamples;
}
static int copyInputToOutput ( int position ) { int numSamples = sonicStream . remainingInputToCopy ; if ( numSamples > 2 * SONIC_MAX_PERIOD ) { numSamples = 2 * SONIC_MAX_PERIOD ; } copyToOutput ( sonicStream . inputBuffer + position , numSamples ) ; sonicStream . remainingInputToCopy -= numSamples ; return numSamples ; }
Just copy from the input buffer to the output buffer.
Just copy from the input buffer to the output buffer .