Searched refs:samplesRead (Results 1 – 4 of 4) sorted by relevance
573 int samplesRead = 0; in testTimestamp() local579 while (samplesRead < targetSamples) { in testTimestamp()580 final int amount = samplesRead == 0 ? numChannels : in testTimestamp()581 Math.min(BUFFER_SAMPLES, targetSamples - samplesRead); in testTimestamp()591 samplesRead += ret; in testTimestamp()788 int samplesRead = 0; in testSynchronizedRecord() local792 while (samplesRead < targetSamples) { in testSynchronizedRecord()795 int amount = samplesRead == 0 ? numChannels : in testSynchronizedRecord()796 Math.min(BUFFER_SAMPLES, targetSamples - samplesRead); in testSynchronizedRecord()799 if (samplesRead == 0 && ret > 0) { in testSynchronizedRecord()[all …]
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()
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()