Searched defs:hz (Results 1 - 1 of 1) sorted by relevance

/frameworks/wilhelm/tests/sandbox/
H A Dintbufq.c150 float hz = 441; local
153 sine[i].left = sin((float) (i / (sr / hz)) * pi2 ) * 32000.0;
157 square[i].left = (i % (unsigned) (sr / hz)) < 50 ? 32767 : -32768;
161 sawtooth[i].left = ((((int) (i % (unsigned) (sr / hz))) - 50) / 100.0) * 60000.0 - 30000.0;

Completed in 52 milliseconds