Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DAudioRecordTest.java504 final int BUFFER_SAMPLES = BUFFER_FRAMES * numChannels; in testTimestamp() local
517 short[] shortData = new short[BUFFER_SAMPLES]; in testTimestamp()
520 Math.min(BUFFER_SAMPLES, targetSamples - samplesRead); in testTimestamp()
652 final int BUFFER_SAMPLES = BUFFER_FRAMES * numChannels; in testSynchronizedRecord() local
659 short[] shortData = new short[BUFFER_SAMPLES]; in testSynchronizedRecord()
664 Math.min(BUFFER_SAMPLES, targetSamples - samplesRead); in testSynchronizedRecord()
840 final int BUFFER_SAMPLES = BUFFER_FRAMES * numChannels; in doTest() local
847 ByteBuffer.allocateDirect(BUFFER_SAMPLES * bytesPerSample); in doTest()
852 Math.min(BUFFER_SAMPLES, targetSamples - samplesRead); in doTest()
889 byte[] byteData = new byte[BUFFER_SAMPLES]; in doTest()
[all …]