Home
last modified time | relevance | path

Searched refs:requestedFrames (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/media/libaaudio/src/client/
DAudioEndpoint.cpp228 int32_t AudioEndpoint::setBufferSizeInFrames(int32_t requestedFrames, in setBufferSizeInFrames() argument
231 if (requestedFrames < ENDPOINT_DATA_QUEUE_SIZE_MIN) { in setBufferSizeInFrames()
232 requestedFrames = ENDPOINT_DATA_QUEUE_SIZE_MIN; in setBufferSizeInFrames()
234 mDataQueue->setThreshold(requestedFrames); in setBufferSizeInFrames()
DAudioStreamInternal.cpp559 aaudio_result_t AudioStreamInternal::setBufferSize(int32_t requestedFrames) { in setBufferSize() argument
563 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()
DAudioEndpoint.h88 int32_t setBufferSizeInFrames(int32_t requestedFrames,
DAudioStreamInternal.h63 aaudio_result_t setBufferSize(int32_t requestedFrames) override;
/frameworks/av/media/libaudioprocessing/tests/
Dtest_utils.h123 size_t requestedFrames = buffer->frameCount;
124 if (requestedFrames > mNumFrames - mNextFrame) {
140 requestedFrames, mNumFrames - mNextFrame, buffer->frameCount);
Dtest-resampler.cpp276 size_t requestedFrames = buffer->frameCount; in main() local
277 if (requestedFrames > mNumFrames - mNextFrame) { in main()
293 requestedFrames, (size_t) (mNumFrames - mNextFrame), buffer->frameCount); in main()
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamRecord.h56 aaudio_result_t setBufferSize(int32_t requestedFrames) override;
DAudioStreamTrack.h58 aaudio_result_t setBufferSize(int32_t requestedFrames) override;
DAudioStreamTrack.cpp379 aaudio_result_t AudioStreamTrack::setBufferSize(int32_t requestedFrames) in setBufferSize() argument
381 ssize_t result = mAudioTrack->setBufferSizeInFrames(requestedFrames); in setBufferSize()
DAudioStreamRecord.cpp310 aaudio_result_t AudioStreamRecord::setBufferSize(int32_t requestedFrames) in setBufferSize() argument
/frameworks/av/media/libaaudio/src/core/
DAAudioAudio.cpp377 int32_t requestedFrames) in AAudioStream_setBufferSizeInFrames() argument
380 return audioStream->setBufferSize(requestedFrames); in AAudioStream_setBufferSizeInFrames()
DAudioStream.h87 virtual aaudio_result_t setBufferSize(int32_t requestedFrames) { in setBufferSize() argument