Searched refs:samplesWritten (Results 1 – 1 of 1) sorted by relevance
160 int samplesWritten; in primeAudioTrack() local162 samplesWritten = mTrack.write(mData, 0, mData.length); in primeAudioTrack()163 if (samplesWritten > 0) { in primeAudioTrack()164 samplesWrittenTotal += samplesWritten; in primeAudioTrack()166 } while (samplesWritten == mData.length); in primeAudioTrack()181 … int samplesWritten = mTrack.write(mData, 0, mData.length, AudioTrack.WRITE_NON_BLOCKING); in writeSeconds() local182 if (samplesWritten < mData.length) { in writeSeconds()183 int samplesRemaining = mData.length - samplesWritten; in writeSeconds()