Searched refs:samplesRead (Results 1 – 3 of 3) sorted by relevance
165 int samplesRead = 0; in testSynchronizedRecord() local169 while (samplesRead < targetSamples) { in testSynchronizedRecord()172 int amount = samplesRead == 0 ? numChannels : in testSynchronizedRecord()173 Math.min(BUFFER_SAMPLES, targetSamples - samplesRead); in testSynchronizedRecord()176 if (samplesRead == 0 && ret > 0) { in testSynchronizedRecord()180 samplesRead += ret; in testSynchronizedRecord()
194 int samplesRead = record1.read(buffer1, 0, RECORD1_NUM_SAMPLES); in testCapturesMatch() local195 assertTrue(samplesRead >= RECORD1_NUM_SAMPLES); in testCapturesMatch()219 samplesRead = record2.read(buffer2, 0, RECORD2_NUM_SAMPLES); in testCapturesMatch()220 assertTrue(samplesRead >= RECORD2_NUM_SAMPLES); in testCapturesMatch()
724 int samplesRead = 0; in testTimestamp() local731 while (samplesRead < targetSamples) { in testTimestamp()732 final int amount = samplesRead == 0 ? numChannels : in testTimestamp()733 Math.min(BUFFER_SAMPLES, targetSamples - samplesRead); in testTimestamp()745 samplesRead += ret; in testTimestamp()1180 int samplesRead = 0; in doTest() local1230 while (samplesRead < targetSamples) { in doTest()1233 final int amount = samplesRead == 0 ? numChannels : in doTest()1234 Math.min(BUFFER_SAMPLES, targetSamples - samplesRead); in doTest()1245 if (samplesRead == 0 && ret > 0) { in doTest()[all …]