sonic_lite.c
static void removeInputSamples(int position) {
  int remainingSamples = sonicStream.numInputSamples - position;

  if (remainingSamples > 0) {
    memmove(sonicStream.inputBuffer,
            sonicStream.inputBuffer + position,
            remainingSamples * sizeof(short));
  }
  sonicStream.numInputSamples = remainingSamples;
}
/* Remove input samples that we have already processed. */
Remove input samples that we have already processed.
Remove input samples that we have already processed .
static void removeInputSamples(int position) {
  int remainingSamples = sonicStream.numInputSamples - position;
  if (remainingSamples > 0) {
    memmove(sonicStream.inputBuffer,
            sonicStream.inputBuffer + position,
            remainingSamples * sizeof(short));
  }
  sonicStream.numInputSamples = remainingSamples;
}
static void removeInputSamples ( int position ) { int remainingSamples = sonicStream . numInputSamples - position ; if ( remainingSamples > 0 ) { memmove ( sonicStream . inputBuffer , sonicStream . inputBuffer + position , remainingSamples * sizeof ( short ) ) ; } sonicStream . numInputSamples = remainingSamples ; }
Remove input samples that we have already processed.
Remove input samples that we have already processed .