Searched refs:requestedFrames (Results 1 – 12 of 12) sorted by relevance
228 int32_t AudioEndpoint::setBufferSizeInFrames(int32_t requestedFrames, in setBufferSizeInFrames() argument231 if (requestedFrames < ENDPOINT_DATA_QUEUE_SIZE_MIN) { in setBufferSizeInFrames()232 requestedFrames = ENDPOINT_DATA_QUEUE_SIZE_MIN; in setBufferSizeInFrames()234 mDataQueue->setThreshold(requestedFrames); in setBufferSizeInFrames()
559 aaudio_result_t AudioStreamInternal::setBufferSize(int32_t requestedFrames) { in setBufferSize() argument563 int32_t numBursts = (requestedFrames + getFramesPerBurst() - 1) / getFramesPerBurst(); in setBufferSize()564 requestedFrames = numBursts * getFramesPerBurst(); in setBufferSize()567 aaudio_result_t result = mAudioEndpoint.setBufferSizeInFrames(requestedFrames, &actualFrames); in setBufferSize()568 ALOGD("AudioStreamInternal::setBufferSize() req = %d => %d", requestedFrames, actualFrames); in setBufferSize()
88 int32_t setBufferSizeInFrames(int32_t requestedFrames,
63 aaudio_result_t setBufferSize(int32_t requestedFrames) override;
123 size_t requestedFrames = buffer->frameCount;124 if (requestedFrames > mNumFrames - mNextFrame) {140 requestedFrames, mNumFrames - mNextFrame, buffer->frameCount);
276 size_t requestedFrames = buffer->frameCount; in main() local277 if (requestedFrames > mNumFrames - mNextFrame) { in main()293 requestedFrames, (size_t) (mNumFrames - mNextFrame), buffer->frameCount); in main()
56 aaudio_result_t setBufferSize(int32_t requestedFrames) override;
58 aaudio_result_t setBufferSize(int32_t requestedFrames) override;
379 aaudio_result_t AudioStreamTrack::setBufferSize(int32_t requestedFrames) in setBufferSize() argument381 ssize_t result = mAudioTrack->setBufferSizeInFrames(requestedFrames); in setBufferSize()
310 aaudio_result_t AudioStreamRecord::setBufferSize(int32_t requestedFrames) in setBufferSize() argument
377 int32_t requestedFrames) in AAudioStream_setBufferSizeInFrames() argument380 return audioStream->setBufferSize(requestedFrames); in AAudioStream_setBufferSizeInFrames()
87 virtual aaudio_result_t setBufferSize(int32_t requestedFrames) { in setBufferSize() argument