Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DAudioTrackLatencyTest.java309 final int TEST_FRAMES_PER_BUFFER = 128; in checkOutputLowLatency() local
312 final short[] data = AudioHelper.createSineWavesShort(TEST_FRAMES_PER_BUFFER, in checkOutputLowLatency()
322 int numBuffers = numSeconds * track.getSampleRate() / TEST_FRAMES_PER_BUFFER; in checkOutputLowLatency()
327 framesWritten += TEST_FRAMES_PER_BUFFER; in checkOutputLowLatency()
390 final int TEST_FRAMES_PER_BUFFER = 256; in testGetUnderrunCount() local
395 final short[] data = AudioHelper.createSineWavesShort(TEST_FRAMES_PER_BUFFER, in testGetUnderrunCount()
424 int numBuffers = TEST_SR / TEST_FRAMES_PER_BUFFER; in testGetUnderrunCount()
430 numBuffers = numSeconds * TEST_SR / TEST_FRAMES_PER_BUFFER; in testGetUnderrunCount()
457 numBuffers = numSeconds * TEST_SR / TEST_FRAMES_PER_BUFFER; in testGetUnderrunCount()
474 numBuffers = numSeconds * TEST_SR / TEST_FRAMES_PER_BUFFER; in testGetUnderrunCount()
[all …]