sonic_lite.c
static int addShortSamplesToInputBuffer(short *samples,
                                        int numSamples) {
  if (numSamples == 0) {
    return 1;
  }
  memcpy(sonicStream.inputBuffer + sonicStream.numInputSamples,
         samples, numSamples * sizeof(short));
  sonicStream.numInputSamples += numSamples;
  return 1;
}
/* Add the input samples to the input buffer. */
Add the input samples to the input buffer.
Add the input samples to the input buffer .
static int addShortSamplesToInputBuffer(short *samples,
                                        int numSamples) {
  if (numSamples == 0) {
    return 1;
  }
  memcpy(sonicStream.inputBuffer + sonicStream.numInputSamples,
         samples, numSamples * sizeof(short));
  sonicStream.numInputSamples += numSamples;
  return 1;
}
static int addShortSamplesToInputBuffer ( short * samples , int numSamples ) { if ( numSamples == 0 ) { return 1 ; } memcpy ( sonicStream . inputBuffer + sonicStream . numInputSamples , samples , numSamples * sizeof ( short ) ) ; sonicStream . numInputSamples += numSamples ; return 1 ; }
Add the input samples to the input buffer.
Add the input samples to the input buffer .