Searched refs:samplesRead (Results 1 – 4 of 4) sorted by relevance
514 int samplesRead = 0; in testTimestamp() local518 while (samplesRead < targetSamples) { in testTimestamp()519 int amount = samplesRead == 0 ? numChannels : in testTimestamp()520 Math.min(BUFFER_SAMPLES, targetSamples - samplesRead); in testTimestamp()530 samplesRead += ret; in testTimestamp()656 int samplesRead = 0; in testSynchronizedRecord() local660 while (samplesRead < targetSamples) { in testSynchronizedRecord()663 int amount = samplesRead == 0 ? numChannels : in testSynchronizedRecord()664 Math.min(BUFFER_SAMPLES, targetSamples - samplesRead); in testSynchronizedRecord()667 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()