Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternalCapture.cpp238 int64_t timeoutNanos = calculateReasonableTimeout(mCallbackFrames); in callbackLoop()
241 result = read(mCallbackBuffer, mCallbackFrames, timeoutNanos); in callbackLoop()
242 if ((result != mCallbackFrames)) { in callbackLoop()
253 callbackResult = maybeCallDataCallback(mCallbackBuffer, mCallbackFrames); in callbackLoop()
DAudioStreamInternalPlay.cpp268 int64_t timeoutNanos = calculateReasonableTimeout(mCallbackFrames); in callbackLoop()
273 callbackResult = maybeCallDataCallback(mCallbackBuffer, mCallbackFrames); in callbackLoop()
277 result = write(mCallbackBuffer, mCallbackFrames, timeoutNanos); in callbackLoop()
278 if ((result != mCallbackFrames)) { in callbackLoop()
DAudioStreamInternal.cpp214 mCallbackFrames = builder.getFramesPerDataCallback(); in open()
215 if (mCallbackFrames > getBufferCapacity() / 2) { in open()
217 __func__, mCallbackFrames, getBufferCapacity()); in open()
221 } else if (mCallbackFrames < 0) { in open()
227 if (mCallbackFrames == AAUDIO_UNSPECIFIED) { in open()
228 mCallbackFrames = mFramesPerBurst; in open()
231 const int32_t callbackBufferSize = mCallbackFrames * getBytesPerFrame(); in open()
327 int64_t periodNanos = mCallbackFrames in requestStart()
DAudioStreamInternal.h167 int32_t mCallbackFrames = 0; variable