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.java514 int samplesRead = 0; in testTimestamp() local
518 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() local
660 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 …]
/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()