sonic_lite.c
static void copyToOutput(short *samples, int numSamples) {
  memcpy(sonicStream.outputBuffer + sonicStream.numOutputSamples,
         samples, numSamples * sizeof(short));
  sonicStream.numOutputSamples += numSamples;
}
/* Just copy from the array to the output buffer */
Just copy from the array to the output buffer
Just copy from the array to the output buffer
static void copyToOutput(short *samples, int numSamples) {
  memcpy(sonicStream.outputBuffer + sonicStream.numOutputSamples,
         samples, numSamples * sizeof(short));
  sonicStream.numOutputSamples += numSamples;
}
static void copyToOutput ( short * samples , int numSamples ) { memcpy ( sonicStream . outputBuffer + sonicStream . numOutputSamples , samples , numSamples * sizeof ( short ) ) ; sonicStream . numOutputSamples += numSamples ; }
Just copy from the array to the output buffer
Just copy from the array to the output buffer