Home
last modified time | relevance | path

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

/cts/tests/tests/media/audio/src/android/media/audio/cts/
DMediaSyncEventTest.java161 final int BUFFER_SAMPLES = BUFFER_FRAMES * numChannels; in testSynchronizedRecord() local
168 short[] shortData = new short[BUFFER_SAMPLES]; in testSynchronizedRecord()
173 Math.min(BUFFER_SAMPLES, targetSamples - samplesRead); in testSynchronizedRecord()
DAudioRecordTest.java713 final int BUFFER_SAMPLES = BUFFER_FRAMES * numChannels; in testTimestamp() local
726 final short[] shortData = new short[BUFFER_SAMPLES]; in testTimestamp()
733 Math.min(BUFFER_SAMPLES, targetSamples - samplesRead); in testTimestamp()
1169 final int BUFFER_SAMPLES = BUFFER_FRAMES * numChannels; in doTest() local
1182 final byte[] byteData = new byte[BUFFER_SAMPLES]; in doTest()
1183 final short[] shortData = new short[BUFFER_SAMPLES]; in doTest()
1184 final float[] floatData = new float[BUFFER_SAMPLES]; in doTest()
1186 ByteBuffer.allocateDirect(BUFFER_SAMPLES * bytesPerSample); in doTest()
1234 Math.min(BUFFER_SAMPLES, targetSamples - samplesRead); in doTest()