Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternalCapture.cpp246 int64_t timeoutNanos = calculateReasonableTimeout(mCallbackFrames); in callbackLoop()
249 result = read(mCallbackBuffer.get(), mCallbackFrames, timeoutNanos); in callbackLoop()
250 if ((result != mCallbackFrames)) { in callbackLoop()
261 callbackResult = maybeCallDataCallback(mCallbackBuffer.get(), mCallbackFrames); in callbackLoop()
DAudioStreamInternalPlay.cpp270 int64_t timeoutNanos = calculateReasonableTimeout(mCallbackFrames); in callbackLoop()
275 callbackResult = maybeCallDataCallback(mCallbackBuffer.get(), mCallbackFrames); in callbackLoop()
279 result = write(mCallbackBuffer.get(), mCallbackFrames, timeoutNanos); in callbackLoop()
280 if ((result != mCallbackFrames)) { in callbackLoop()
DAudioStreamInternal.cpp228 mCallbackFrames = builder.getFramesPerDataCallback(); in open()
229 if (mCallbackFrames > getBufferCapacity() / 2) { in open()
231 __func__, mCallbackFrames, getBufferCapacity()); in open()
235 } else if (mCallbackFrames < 0) { in open()
241 if (mCallbackFrames == AAUDIO_UNSPECIFIED) { in open()
242 mCallbackFrames = mFramesPerBurst; in open()
245 const int32_t callbackBufferSize = mCallbackFrames * getBytesPerFrame(); in open()
371 int64_t periodNanos = mCallbackFrames in requestStart()
DAudioStreamInternal.h169 int32_t mCallbackFrames = 0; variable