Searched refs:BUFFER_SAMPLES (Results 1 – 2 of 2) sorted by relevance
161 final int BUFFER_SAMPLES = BUFFER_FRAMES * numChannels; in testSynchronizedRecord() local168 short[] shortData = new short[BUFFER_SAMPLES]; in testSynchronizedRecord()173 Math.min(BUFFER_SAMPLES, targetSamples - samplesRead); in testSynchronizedRecord()
713 final int BUFFER_SAMPLES = BUFFER_FRAMES * numChannels; in testTimestamp() local726 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() local1182 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()