Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/client/
DAudioEndpoint.cpp226 int32_t AudioEndpoint::setBufferSizeInFrames(int32_t requestedFrames, in setBufferSizeInFrames() argument
228 if (requestedFrames < ENDPOINT_DATA_QUEUE_SIZE_MIN) { in setBufferSizeInFrames()
229 requestedFrames = ENDPOINT_DATA_QUEUE_SIZE_MIN; in setBufferSizeInFrames()
231 mDataQueue->setThreshold(requestedFrames); in setBufferSizeInFrames()
DAudioEndpoint.h82 int32_t setBufferSizeInFrames(int32_t requestedFrames,
DAudioStreamInternal.h63 aaudio_result_t setBufferSize(int32_t requestedFrames) override;
DAudioStreamInternal.cpp756 aaudio_result_t AudioStreamInternal::setBufferSize(int32_t requestedFrames) { in setBufferSize() argument
757 int32_t adjustedFrames = requestedFrames; in setBufferSize()
795 ALOGV("%s(%d) returns %d", __func__, requestedFrames, adjustedFrames); in setBufferSize()
/frameworks/av/media/libaudioprocessing/tests/
Dtest_utils.h124 size_t requestedFrames = buffer->frameCount;
125 if (requestedFrames > mNumFrames - mNextFrame) {
141 requestedFrames, mNumFrames - mNextFrame, buffer->frameCount);
Dtest-resampler.cpp277 size_t requestedFrames = buffer->frameCount; in main() local
278 if (requestedFrames > mNumFrames - mNextFrame) { in main()
294 requestedFrames, (size_t) (mNumFrames - mNextFrame), buffer->frameCount); in main()
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamTrack.cpp455 aaudio_result_t AudioStreamTrack::setBufferSize(int32_t requestedFrames) in setBufferSize() argument
458 if (requestedFrames < getFramesPerBurst()) { in setBufferSize()
459 requestedFrames = getFramesPerBurst(); in setBufferSize()
461 ssize_t result = mAudioTrack->setBufferSizeInFrames(requestedFrames); in setBufferSize()
DAudioStreamRecord.h54 aaudio_result_t setBufferSize(int32_t requestedFrames) override;
DAudioStreamTrack.h69 aaudio_result_t setBufferSize(int32_t requestedFrames) override;
DAudioStreamRecord.cpp476 aaudio_result_t AudioStreamRecord::setBufferSize(int32_t requestedFrames) in setBufferSize() argument
/frameworks/av/media/libaaudio/src/core/
DAAudioAudio.cpp403 int32_t requestedFrames) in AAudioStream_setBufferSizeInFrames() argument
406 return audioStream->setBufferSize(requestedFrames); in AAudioStream_setBufferSizeInFrames()
DAudioStream.h153 virtual aaudio_result_t setBufferSize(int32_t requestedFrames) = 0;