Home
last modified time | relevance | path

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

/external/oboe/src/opensles/
DAudioStreamBuffered.cpp251 ResultWithValue<int32_t> AudioStreamBuffered::setBufferSizeInFrames(int32_t requestedFrames) in setBufferSizeInFrames() argument
261 if (requestedFrames > mFifoBuffer->getBufferCapacityInFrames()) { in setBufferSizeInFrames()
262 requestedFrames = mFifoBuffer->getBufferCapacityInFrames(); in setBufferSizeInFrames()
263 } else if (requestedFrames < getFramesPerBurst()) { in setBufferSizeInFrames()
264 requestedFrames = getFramesPerBurst(); in setBufferSizeInFrames()
266 mBufferSizeInFrames = requestedFrames; in setBufferSizeInFrames()
267 return ResultWithValue<int32_t>(requestedFrames); in setBufferSizeInFrames()
DAudioStreamBuffered.h48 ResultWithValue<int32_t> setBufferSizeInFrames(int32_t requestedFrames) override;
/external/skia/modules/skottie/src/
DSkottieTest.cpp800 const std::vector<float>& requestedFrames() const { return fRequestedFrames; } in DEF_TEST() function in DEF_TEST::TestAsset
824 REPORTER_ASSERT(reporter, single_asset->requestedFrames().size() == 1); in DEF_TEST()
825 REPORTER_ASSERT(reporter, multi_asset->requestedFrames().size() == 0); in DEF_TEST()
826 REPORTER_ASSERT(reporter, SkScalarNearlyZero(single_asset->requestedFrames()[0])); in DEF_TEST()
829 REPORTER_ASSERT(reporter, single_asset->requestedFrames().size() == 1); in DEF_TEST()
830 REPORTER_ASSERT(reporter, multi_asset->requestedFrames().size() == 1); in DEF_TEST()
831 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(multi_asset->requestedFrames()[0], 1)); in DEF_TEST()
834 REPORTER_ASSERT(reporter, single_asset->requestedFrames().size() == 1); in DEF_TEST()
835 REPORTER_ASSERT(reporter, multi_asset->requestedFrames().size() == 2); in DEF_TEST()
836 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(multi_asset->requestedFrames()[1], 2)); in DEF_TEST()
[all …]
/external/oboe/src/common/
DFilterAudioStream.h153 ResultWithValue<int32_t> setBufferSizeInFrames(int32_t requestedFrames) override { in setBufferSizeInFrames() argument
154 return mChildStream->setBufferSizeInFrames(requestedFrames); in setBufferSizeInFrames()
/external/oboe/src/aaudio/
DAudioStreamAAudio.h68 ResultWithValue<int32_t> setBufferSizeInFrames(int32_t requestedFrames) override;
DAudioStreamAAudio.cpp543 ResultWithValue<int32_t> AudioStreamAAudio::setBufferSizeInFrames(int32_t requestedFrames) { in setBufferSizeInFrames() argument
548 int32_t adjustedFrames = requestedFrames; in setBufferSizeInFrames()