Searched refs:samplesRead (Results 1 – 4 of 4) sorted by relevance
556 int samplesRead = 0; in testTimestamp() local560 while (samplesRead < targetSamples) { in testTimestamp()561 int amount = samplesRead == 0 ? numChannels : in testTimestamp()562 Math.min(BUFFER_SAMPLES, targetSamples - samplesRead); in testTimestamp()572 samplesRead += ret; in testTimestamp()768 int samplesRead = 0; in testSynchronizedRecord() local772 while (samplesRead < targetSamples) { in testSynchronizedRecord()775 int amount = samplesRead == 0 ? numChannels : in testSynchronizedRecord()776 Math.min(BUFFER_SAMPLES, targetSamples - samplesRead); in testSynchronizedRecord()779 if (samplesRead == 0 && ret > 0) { in testSynchronizedRecord()[all …]
53 int samplesRead = slesProcessNext(pSles, pCurrentSample, availableSamples); in Java_com_android_cts_verifier_audio_NativeAudioThread_slesProcessNext() local55 return samplesRead; in Java_com_android_cts_verifier_audio_NativeAudioThread_slesProcessNext()
542 int samplesRead = 0; in slesProcessNext() local549 return samplesRead; in slesProcessNext()568 samplesRead +=actual; in slesProcessNext()595 samplesRead, maxSamples); in slesProcessNext()597 return samplesRead; in slesProcessNext()
158 int samplesRead = slesProcessNext(sles_data, mvSamples,offset); in run() local159 totalSamplesRead += samplesRead; in run()161 offset += samplesRead; in run()162 log(" [" + ii + "] jni samples read:" + samplesRead + " currentOffset:" + offset); in run()