Searched refs:requestedFrames (Results 1 – 12 of 12) sorted by relevance
240 int32_t AudioEndpoint::setBufferSizeInFrames(int32_t requestedFrames, in setBufferSizeInFrames() argument243 if (requestedFrames < ENDPOINT_DATA_QUEUE_SIZE_MIN) { in setBufferSizeInFrames()244 requestedFrames = ENDPOINT_DATA_QUEUE_SIZE_MIN; in setBufferSizeInFrames()246 mDataQueue->setThreshold(requestedFrames); in setBufferSizeInFrames()
83 int32_t setBufferSizeInFrames(int32_t requestedFrames,
63 aaudio_result_t setBufferSize(int32_t requestedFrames) override;
694 aaudio_result_t AudioStreamInternal::setBufferSize(int32_t requestedFrames) { in setBufferSize() argument695 int32_t adjustedFrames = requestedFrames; in setBufferSize()
124 size_t requestedFrames = buffer->frameCount;125 if (requestedFrames > mNumFrames - mNextFrame) {141 requestedFrames, mNumFrames - mNextFrame, buffer->frameCount);
277 size_t requestedFrames = buffer->frameCount; in main() local278 if (requestedFrames > mNumFrames - mNextFrame) { in main()294 requestedFrames, (size_t) (mNumFrames - mNextFrame), buffer->frameCount); in main()
425 aaudio_result_t AudioStreamTrack::setBufferSize(int32_t requestedFrames) in setBufferSize() argument428 if (requestedFrames < getFramesPerBurst()) { in setBufferSize()429 requestedFrames = getFramesPerBurst(); in setBufferSize()431 ssize_t result = mAudioTrack->setBufferSizeInFrames(requestedFrames); in setBufferSize()
54 aaudio_result_t setBufferSize(int32_t requestedFrames) override;
69 aaudio_result_t setBufferSize(int32_t requestedFrames) override;
459 aaudio_result_t AudioStreamRecord::setBufferSize(int32_t requestedFrames) in setBufferSize() argument
425 int32_t requestedFrames) in AAudioStream_setBufferSizeInFrames() argument428 return audioStream->setBufferSize(requestedFrames); in AAudioStream_setBufferSizeInFrames()
131 virtual aaudio_result_t setBufferSize(int32_t requestedFrames) = 0;