Home
last modified time | relevance | path

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

/cts/suite/audio_quality/lib/src/audio/
DAudioRecordingLocal.cpp73 int toRead = mSizes; in doPlaybackOrRecord() local
75 toRead = buffer->amountToHandle(); in doPlaybackOrRecord()
77 LOGD("recording will read %d", toRead); in doPlaybackOrRecord()
79 while (toRead > 0) { in doPlaybackOrRecord()
80 int readSize = (toRead > mBufferSize) ? mBufferSize : toRead; in doPlaybackOrRecord()
86 toRead -= readSize; in doPlaybackOrRecord()
/cts/suite/audio_quality/lib/src/
DClientSocket.cpp97 int toRead = len; in readData() local
98 while (toRead > 0) { in readData()
117 read = recv(mSocket, (void*)data, toRead, 0); in readData()
119 toRead -= read; in readData()