Home
last modified time | relevance | path

Searched refs:getFramesPerBurst (Results 1 – 25 of 33) sorted by relevance

12

/third_party/skia/third_party/externals/oboe/src/opensles/
DAudioStreamBuffered.cpp44 capacityFrames = getFramesPerBurst() * kDefaultBurstsPerBuffer; in allocateFifo()
46 int32_t minFramesPerBufferByBursts = getFramesPerBurst() * kMinBurstsPerBuffer; in allocateFifo()
52 int32_t numBursts = (capacityFrames + getFramesPerBurst() - 1) in allocateFifo()
53 / getFramesPerBurst(); in allocateFifo()
54 capacityFrames = numBursts * getFramesPerBurst(); in allocateFifo()
173 sleepForNanos = (getFramesPerBurst() * kNanosPerSecond) / getSampleRate(); in transfer()
246 } else if (requestedFrames < getFramesPerBurst()) { in setBufferSizeInFrames()
247 requestedFrames = getFramesPerBurst(); in setBufferSizeInFrames()
DAudioStreamOpenSLES.h62 int32_t getFramesPerBurst() override;
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DOboeAudioStream.java68 requestedConfiguration.getFramesPerBurst(), in open()
86 actualConfiguration.setFramesPerBurst(getFramesPerBurst()); in open()
153 public int getFramesPerBurst() { in getFramesPerBurst() method in OboeAudioStream
154 return getFramesPerBurst(streamIndex); in getFramesPerBurst()
156 public native int getFramesPerBurst(int streamIndex); in getFramesPerBurst() method in OboeAudioStream
DAudioStreamBase.java139 public int getFramesPerBurst() { in getFramesPerBurst() method in AudioStreamBase
140 return mActualStreamConfiguration.getFramesPerBurst(); in getFramesPerBurst()
DAnalyzerActivity.java107 report.append(String.format("in.burst.frames = %d\n", inStream.getFramesPerBurst())); in getCommonTestReport()
113 report.append(String.format("out.burst.frames = %d\n", outStream.getFramesPerBurst())); in getCommonTestReport()
DStreamConfiguration.java107 public int getFramesPerBurst() { in getFramesPerBurst() method in StreamConfiguration
DTestInputActivity.java123 int framesPerBurst = mAudioInputTester.getCurrentAudioStream().getFramesPerBurst(); in setMinimumBurstsBeforeRead()
DManualGlitchActivity.java233 … int sizeFrames = mAudioOutTester.getCurrentAudioStream().getFramesPerBurst() * numBursts; in startAutomaticTest()
/third_party/skia/third_party/externals/oboe/src/common/
DFilterAudioStream.h48 const int size = childStream->getFramesPerBurst() * childStream->getBytesPerFrame(); in FilterAudioStream()
127 int32_t getFramesPerBurst() override { in getFramesPerBurst() function
128 return mChildStream->getFramesPerBurst(); in getFramesPerBurst()
DDataConversionFlowGraph.cpp107 ? sourceStream->getFramesPerBurst() in configure()
140 ? sinkStream->getFramesPerBurst() in configure()
DFilterAudioStream.cpp65 getFramesPerBurst(), in write()
DLatencyTuner.cpp28 int32_t burstSize = stream.getFramesPerBurst(); in LatencyTuner()
DREADME.md21 The adapter contains one burst of frames, from getFramesPerBurst(). But if the app specifies a
DQuirksManager.cpp45 int32_t burst = stream.getFramesPerBurst(); in clipBufferSize()
DAudioStreamBuilder.cpp170 optimalBufferSize = streamP->getFramesPerBurst() * in openStream()
DAudioStream.cpp170 int64_t burstInNanos = getFramesPerBurst() * kNanosPerSecond / getSampleRate(); in waitForAvailableFrames()
/third_party/skia/third_party/externals/oboe/tests/
DtestStreamOpen.cpp106 ASSERT_EQ(mStream->getFramesPerBurst(), 128); in TEST_F()
358 int32_t burst = mStream->getFramesPerBurst(); in TEST_F()
DtestStreamClosedMethods.cpp198 auto f = mStream->getFramesPerBurst(); in TEST_F()
200 ASSERT_EQ(mStream->getFramesPerBurst(), f); in TEST_F()
/third_party/skia/third_party/externals/oboe/docs/
DOpenSLESMigration.md96 An audio stream's burst size, given by `AudioStream::getFramesPerBurst()`, is important because it …
100 audioStream.setBufferSizeInFrames(audioStream.getFramesPerBurst() * 2);
164 …t size. For example: `audioStream.setBufferSizeInFrames(audioStream.getFramesPerBurst * numBuffers…
/third_party/skia/third_party/externals/oboe/src/aaudio/
DAudioStreamAAudio.h70 int32_t getFramesPerBurst() override;
/third_party/skia/third_party/externals/oboe/samples/hello-oboe/src/main/cpp/
DHelloOboeEngine.cpp81 numBursts * mStream->getFramesPerBurst()); in setBufferSizeInBursts()
/third_party/skia/third_party/externals/oboe/include/oboe/
DAudioStream.h208 virtual int32_t getFramesPerBurst() = 0;
/third_party/skia/third_party/externals/oboe/samples/iolib/src/main/cpp/player/
DSimpleMultiPlayer.cpp100 mAudioStream->getFramesPerBurst() * kBufferSizeInBursts); in openStream()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/
DGame.cpp196 mAudioStream->getFramesPerBurst() * kBufferSizeInBursts); in openStream()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/
DNativeAudioContext.cpp211 mFramesPerBurst = oboeStream->getFramesPerBurst(); in open()
521 int32_t burst = outputStream->getFramesPerBurst(); in configureBuilder()

12