Searched refs:vaf (Results 1 – 2 of 2) sorted by relevance
62 float[] vaf = new float[bufferSamples]; in createSoundDataInFloatArray() local63 sweep = Math.PI * sweep / ((double)sampleRate * vaf.length); in createSoundDataInFloatArray()64 for (int j = 0; j < vaf.length; j++) { in createSoundDataInFloatArray()65 vaf[j] = (float)(Math.sin(j * (rad + j * sweep))); in createSoundDataInFloatArray()67 return vaf; in createSoundDataInFloatArray()
2191 float[] vaf = AudioHelper.createSoundDataInFloatArray( in testVariableSpeedPlayback() local2193 assertEquals(vaf.length, track.write(vaf, 0 /* offsetInFloats */, vaf.length, in testVariableSpeedPlayback()