Searched refs:requestedFrames (Results 1 – 12 of 12) sorted by relevance
226 int32_t AudioEndpoint::setBufferSizeInFrames(int32_t requestedFrames, in setBufferSizeInFrames() argument228 if (requestedFrames < ENDPOINT_DATA_QUEUE_SIZE_MIN) { in setBufferSizeInFrames()229 requestedFrames = ENDPOINT_DATA_QUEUE_SIZE_MIN; in setBufferSizeInFrames()231 mDataQueue->setThreshold(requestedFrames); in setBufferSizeInFrames()
82 int32_t setBufferSizeInFrames(int32_t requestedFrames,
63 aaudio_result_t setBufferSize(int32_t requestedFrames) override;
756 aaudio_result_t AudioStreamInternal::setBufferSize(int32_t requestedFrames) { in setBufferSize() argument757 int32_t adjustedFrames = requestedFrames; in setBufferSize()795 ALOGV("%s(%d) returns %d", __func__, requestedFrames, adjustedFrames); 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()
455 aaudio_result_t AudioStreamTrack::setBufferSize(int32_t requestedFrames) in setBufferSize() argument458 if (requestedFrames < getFramesPerBurst()) { in setBufferSize()459 requestedFrames = getFramesPerBurst(); in setBufferSize()461 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;
476 aaudio_result_t AudioStreamRecord::setBufferSize(int32_t requestedFrames) in setBufferSize() argument
403 int32_t requestedFrames) in AAudioStream_setBufferSizeInFrames() argument406 return audioStream->setBufferSize(requestedFrames); in AAudioStream_setBufferSizeInFrames()
153 virtual aaudio_result_t setBufferSize(int32_t requestedFrames) = 0;