Home
last modified time | relevance | path

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

/frameworks/base/media/libmedia/
DAudioTrack.cpp1027 size_t writtenSize; in processAudioBuffer() local
1112 writtenSize = audioBuffer.size; in processAudioBuffer()
1115 if (ssize_t(writtenSize) <= 0) { in processAudioBuffer()
1123 if (writtenSize > reqSize) writtenSize = reqSize; in processAudioBuffer()
1127 const int8_t *src = audioBuffer.i8 + writtenSize-1; in processAudioBuffer()
1128 int count = writtenSize; in processAudioBuffer()
1129 int16_t *dst = audioBuffer.i16 + writtenSize-1; in processAudioBuffer()
1133 writtenSize <<= 1; in processAudioBuffer()
1136 audioBuffer.size = writtenSize; in processAudioBuffer()
1140 audioBuffer.frameCount = writtenSize/mCblk->frameSize; in processAudioBuffer()