Lines Matching refs:framesRead
30 int32_t framesRead = AAUDIO_ERROR_INVALID_FORMAT; in readFormattedData() local
32 framesRead = AAudioStream_read(mInputStream, mInputShortData, in readFormattedData()
36 framesRead = AAudioStream_read(mInputStream, mInputFloatData, in readFormattedData()
43 if (framesRead < 0) { in readFormattedData()
46 mInputError = framesRead; in readFormattedData()
47 ALOGE("ERROR in read = %d = %s\n", framesRead, in readFormattedData()
48 AAudio_convertResultToText(framesRead)); in readFormattedData()
50 framesRead = 0; in readFormattedData()
53 mFramesReadTotal += framesRead; in readFormattedData()
55 return framesRead; in readFormattedData()
88 int64_t framesRead = AAudioStream_getFramesRead(mInputStream); in dataCallbackProc() local
90 mWriteReadDelta = framesWritten - framesRead; in dataCallbackProc()