Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/oboe/src/opensles/
DAudioStreamBuffered.cpp234 ResultWithValue<int32_t> AudioStreamBuffered::setBufferSizeInFrames(int32_t requestedFrames) in setBufferSizeInFrames() argument
244 if (requestedFrames > mFifoBuffer->getBufferCapacityInFrames()) { in setBufferSizeInFrames()
245 requestedFrames = mFifoBuffer->getBufferCapacityInFrames(); in setBufferSizeInFrames()
246 } else if (requestedFrames < getFramesPerBurst()) { in setBufferSizeInFrames()
247 requestedFrames = getFramesPerBurst(); in setBufferSizeInFrames()
249 mBufferSizeInFrames = requestedFrames; in setBufferSizeInFrames()
250 return ResultWithValue<int32_t>(requestedFrames); in setBufferSizeInFrames()
DAudioStreamBuffered.h48 ResultWithValue<int32_t> setBufferSizeInFrames(int32_t requestedFrames) override;
/third_party/skia/modules/skottie/src/
DSkottieTest.cpp803 const std::vector<float>& requestedFrames() const { return fRequestedFrames; } in DEF_TEST() function in DEF_TEST::TestAsset
827 REPORTER_ASSERT(reporter, single_asset->requestedFrames().size() == 1); in DEF_TEST()
828 REPORTER_ASSERT(reporter, multi_asset->requestedFrames().size() == 0); in DEF_TEST()
829 REPORTER_ASSERT(reporter, SkScalarNearlyZero(single_asset->requestedFrames()[0])); in DEF_TEST()
832 REPORTER_ASSERT(reporter, single_asset->requestedFrames().size() == 1); in DEF_TEST()
833 REPORTER_ASSERT(reporter, multi_asset->requestedFrames().size() == 1); in DEF_TEST()
834 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(multi_asset->requestedFrames()[0], 1)); in DEF_TEST()
837 REPORTER_ASSERT(reporter, single_asset->requestedFrames().size() == 1); in DEF_TEST()
838 REPORTER_ASSERT(reporter, multi_asset->requestedFrames().size() == 2); in DEF_TEST()
839 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(multi_asset->requestedFrames()[1], 2)); in DEF_TEST()
[all …]
/third_party/skia/third_party/externals/oboe/src/common/
DFilterAudioStream.h149 ResultWithValue<int32_t> setBufferSizeInFrames(int32_t requestedFrames) override { in setBufferSizeInFrames() argument
150 return mChildStream->setBufferSizeInFrames(requestedFrames); in setBufferSizeInFrames()
/third_party/skia/third_party/externals/oboe/src/aaudio/
DAudioStreamAAudio.h68 ResultWithValue<int32_t> setBufferSizeInFrames(int32_t requestedFrames) override;
DAudioStreamAAudio.cpp518 ResultWithValue<int32_t> AudioStreamAAudio::setBufferSizeInFrames(int32_t requestedFrames) { in setBufferSizeInFrames() argument
523 int32_t adjustedFrames = requestedFrames; in setBufferSizeInFrames()
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest-libaaudio.so.abi2213 …<parameter type-id='3ff5601b' name='requestedFrames' filepath='frameworks/av/media/libaaudio/src/c…