Searched refs:sampleRight (Results 1 – 1 of 1) sorted by relevance
153 short sampleRight = sin(seconds * M_PI_2 * hzRight) * 32767.0; in main() local157 buffer[i++] = (sampleRight + 32768) >> 8; in main()162 buffer[i++] = sampleRight & 0xFF; in main()163 buffer[i++] = sampleRight >> 8; in main()168 short sampleMono = ((int) sampleLeft + (int) sampleRight) / 2; in main()