Searched refs:sampleLeft (Results 1 - 1 of 1) sorted by relevance

/frameworks/wilhelm/tests/sandbox/
H A Dconfigbq.c152 short sampleLeft = sin(seconds * M_PI_2 * hzLeft) * 32767.0; local
156 buffer[i++] = (sampleLeft + 32768) >> 8;
160 buffer[i++] = sampleLeft & 0xFF;
161 buffer[i++] = sampleLeft >> 8;
168 short sampleMono = ((int) sampleLeft + (int) sampleRight) / 2;

Completed in 97 milliseconds