/* Write a sine wave to an output buffer.  Return the number of samples written.
 */
int genSineWave(short* output, int outputLen, int sampleRate, int period,
                     int amplitude, int numPeriods);
