Home
last modified time | relevance | path

Searched refs:samplesRead (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DAudioRecordTest.java573 int samplesRead = 0; in testTimestamp() local
579 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() local
792 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 …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DNativeAudioThread.java158 int samplesRead = slesProcessNext(sles_data, mvSamples,offset); in run() local
159 totalSamplesRead += samplesRead; in run()
161 offset += samplesRead; in run()
162 log(" [" + ii + "] jni samples read:" + samplesRead + " currentOffset:" + offset); in run()
/cts/apps/CtsVerifier/jni/audio_loopback/
Djni_sles.c53 int samplesRead = slesProcessNext(pSles, pCurrentSample, availableSamples); in Java_com_android_cts_verifier_audio_NativeAudioThread_slesProcessNext() local
55 return samplesRead; in Java_com_android_cts_verifier_audio_NativeAudioThread_slesProcessNext()
Dsles.cpp542 int samplesRead = 0; in slesProcessNext() local
549 return samplesRead; in slesProcessNext()
568 samplesRead +=actual; in slesProcessNext()
595 samplesRead, maxSamples); in slesProcessNext()
597 return samplesRead; in slesProcessNext()