Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DAudioHelper.java62 float[] vaf = new float[bufferSamples]; in createSoundDataInFloatArray() local
63 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()
DAudioTrackTest.java2191 float[] vaf = AudioHelper.createSoundDataInFloatArray( in testVariableSpeedPlayback() local
2193 assertEquals(vaf.length, track.write(vaf, 0 /* offsetInFloats */, vaf.length, in testVariableSpeedPlayback()