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