Home
last modified time | relevance | path

Searched refs:phase0Size (Results 1 – 2 of 2) sorted by relevance

/cts/apps/CtsVerifier/jni/megaaudio/player/
DWaveTableSource.cpp102 int phase0Size = (int) (size / 2 * dutyCycle); in genTriangleWave() local
104 int breakIndex = phase0Size; in genTriangleWave()
107 if (phase0Size != 0) { in genTriangleWave()
108 float phase0Incr = maxValue / (float) phase0Size; in genTriangleWave()
118 breakIndex = size - phase0Size; in genTriangleWave()
126 if (phase0Size != 0) { in genTriangleWave()
127 float phase0Incr = maxValue / (float) phase0Size; in genTriangleWave()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/sources/
DWaveTableSource.java176 int phase0Size = (int) (size / 2 * dutyCycle); in genTriangleWave() local
178 int breakIndex = phase0Size; in genTriangleWave()
181 if (phase0Size != 0) { in genTriangleWave()
182 float phase0Incr = maxValue / (float) phase0Size; in genTriangleWave()
192 breakIndex = size - phase0Size; in genTriangleWave()
200 if (phase0Size != 0) { in genTriangleWave()
201 float phase0Incr = maxValue / (float) phase0Size; in genTriangleWave()