Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/client/
DAudioEndpoint.cpp240 int32_t AudioEndpoint::setBufferSizeInFrames(int32_t requestedFrames, in setBufferSizeInFrames() argument
243 if (requestedFrames < ENDPOINT_DATA_QUEUE_SIZE_MIN) { in setBufferSizeInFrames()
244 requestedFrames = ENDPOINT_DATA_QUEUE_SIZE_MIN; in setBufferSizeInFrames()
246 mDataQueue->setThreshold(requestedFrames); in setBufferSizeInFrames()
DAudioEndpoint.h83 int32_t setBufferSizeInFrames(int32_t requestedFrames,
DAudioStreamInternal.h63 aaudio_result_t setBufferSize(int32_t requestedFrames) override;
DAudioStreamInternal.cpp694 aaudio_result_t AudioStreamInternal::setBufferSize(int32_t requestedFrames) { in setBufferSize() argument
695 int32_t adjustedFrames = requestedFrames; 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.cpp425 aaudio_result_t AudioStreamTrack::setBufferSize(int32_t requestedFrames) in setBufferSize() argument
428 if (requestedFrames < getFramesPerBurst()) { in setBufferSize()
429 requestedFrames = getFramesPerBurst(); in setBufferSize()
431 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.cpp459 aaudio_result_t AudioStreamRecord::setBufferSize(int32_t requestedFrames) in setBufferSize() argument
/frameworks/av/media/libaaudio/src/core/
DAAudioAudio.cpp425 int32_t requestedFrames) in AAudioStream_setBufferSizeInFrames() argument
428 return audioStream->setBufferSize(requestedFrames); in AAudioStream_setBufferSizeInFrames()
DAudioStream.h131 virtual aaudio_result_t setBufferSize(int32_t requestedFrames) = 0;