Searched refs:toRead (Results 1 – 2 of 2) sorted by relevance
73 int toRead = mSizes; in doPlaybackOrRecord() local75 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()
97 int toRead = len; in readData() local98 while (toRead > 0) { in readData()117 read = recv(mSocket, (void*)data, toRead, 0); in readData()119 toRead -= read; in readData()