Home
last modified time | relevance | path

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

/hardware/qcom/audio/legacy/alsa_sound/
DAudioStreamInALSA.cpp331 int processed_pending; in read() local
343 processed_pending = mSurroundOutputBufferIdx; in read()
344 if (processed_pending > (samples - processed)) { in read()
345 processed_pending = (samples - processed); in read()
347 memcpy(buffer, mSurroundOutputBuffer, processed_pending * sizeof(Word16)); in read()
348 buffer += processed_pending * sizeof(Word16); in read()
349 processed += processed_pending; in read()
350 if (mSurroundOutputBufferIdx > processed_pending) { in read()
353 &mSurroundOutputBuffer[processed_pending], in read()
354 (mSurroundOutputBufferIdx - processed_pending) * sizeof(Word16)); in read()
[all …]