Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternalCapture.cpp292 int64_t timeoutNanos = calculateReasonableTimeout(mCallbackFrames); in callbackLoop()
295 result = read(mCallbackBuffer.get(), mCallbackFrames, timeoutNanos); in callbackLoop()
296 if ((result != mCallbackFrames)) { in callbackLoop()
309 callbackResult = maybeCallDataCallback(mCallbackBuffer.get(), mCallbackFrames); in callbackLoop()
DAudioStreamInternal.cpp293 mCallbackFrames = callbackFrames; in configureDataInformation()
294 if (mCallbackFrames > getBufferCapacity() / 2) { in configureDataInformation()
296 __func__, mCallbackFrames, getBufferCapacity()); in configureDataInformation()
298 } else if (mCallbackFrames < 0) { in configureDataInformation()
302 if (mCallbackFrames == AAUDIO_UNSPECIFIED) { in configureDataInformation()
303 mCallbackFrames = getFramesPerBurst(); in configureDataInformation()
306 const int32_t callbackBufferSize = mCallbackFrames * getBytesPerFrame(); in configureDataInformation()
434 result = configureDataInformation(mCallbackFrames); in exitStandby_l()
510 int64_t periodNanos = mCallbackFrames in requestStart_l()
DAudioStreamInternalPlay.cpp406 int64_t timeoutNanos = calculateReasonableTimeout(mCallbackFrames); in callbackLoop()
411 callbackResult = maybeCallDataCallback(mCallbackBuffer.get(), mCallbackFrames); in callbackLoop()
420 result = write(mCallbackBuffer.get(), mCallbackFrames, timeoutNanos); in callbackLoop()
421 if ((result != mCallbackFrames)) { in callbackLoop()
DAudioStreamInternal.h169 int32_t mCallbackFrames = 0; variable