Home
last modified time | relevance | path

Searched refs:samplesWritten (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioTrackLatencyTest.java210 int samplesWritten; in primeAudioTrack() local
212 samplesWritten = mTrack.write(mData, 0, mData.length); in primeAudioTrack()
213 if (samplesWritten > 0) { in primeAudioTrack()
214 samplesWrittenTotal += samplesWritten; in primeAudioTrack()
216 } while (samplesWritten == mData.length); in primeAudioTrack()
231 … int samplesWritten = mTrack.write(mData, 0, mData.length, AudioTrack.WRITE_NON_BLOCKING); in writeSeconds() local
232 if (samplesWritten < mData.length) { in writeSeconds()
233 int samplesRemaining = mData.length - samplesWritten; in writeSeconds()
/cts/tests/media/jni/
DNativeMuxerTest.cpp290 uint32_t samplesWritten = 0; in writeAFewSamplesDataFromTime() local
311 ++samplesWritten; in writeAFewSamplesDataFromTime()
314 : ((samplesWritten < numSamples) && (i < mTrackIdxOrder.size()))); in writeAFewSamplesDataFromTime()
315 ALOGV("samplesWritten:%u", samplesWritten); in writeAFewSamplesDataFromTime()