Searched refs:framesRead (Results 1 – 2 of 2) sorted by relevance
30 int32_t framesRead = AAUDIO_ERROR_INVALID_FORMAT; in readFormattedData() local32 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()[all …]
61 int framesRead = AAudioStream_getFramesRead(stream); in tryOpeningStream() local62 while (numRetries < kMaxRetries && framesRead < kNumFrames) { in tryOpeningStream()64 framesRead = AAudioStream_getFramesRead(stream); in tryOpeningStream()