Home
last modified time | relevance | path

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

12

/external/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()
188 sleepForNanos = (getFramesPerBurst() * kNanosPerSecond) / getSampleRate(); in transfer()
263 } else if (requestedFrames < getFramesPerBurst()) { in setBufferSizeInFrames()
264 requestedFrames = getFramesPerBurst(); in setBufferSizeInFrames()
DAudioStreamOpenSLES.h61 int32_t getFramesPerBurst() override;
/external/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.java166 public int getFramesPerBurst() { in getFramesPerBurst() method in AudioStreamBase
167 return mActualStreamConfiguration.getFramesPerBurst(); in getFramesPerBurst()
DBufferSizeView.java147 int framesPerBurst = mStream.getFramesPerBurst(); in onStreamOpened()
156 int framesPerBurst = mStream.getFramesPerBurst(); in setBufferSizeByNumBursts()
DAnalyzerActivity.java125 report.append(String.format("in.burst.frames = %d\n", inStream.getFramesPerBurst())); in getCommonTestReport()
131 report.append(String.format("out.burst.frames = %d\n", outStream.getFramesPerBurst())); in getCommonTestReport()
DManualGlitchActivity.java168 … int sizeFrames = mAudioOutTester.getCurrentAudioStream().getFramesPerBurst() * numBursts; in startAutomaticTest()
DStreamConfiguration.java109 public int getFramesPerBurst() { in getFramesPerBurst() method in StreamConfiguration
/external/oboe/src/common/
DFilterAudioStream.h51 const int size = childStream->getFramesPerBurst() * childStream->getBytesPerFrame(); in FilterAudioStream()
131 int32_t getFramesPerBurst() override { in getFramesPerBurst() function
132 return mChildStream->getFramesPerBurst(); in getFramesPerBurst()
DDataConversionFlowGraph.cpp108 ? sourceStream->getFramesPerBurst() in configure()
141 ? sinkStream->getFramesPerBurst() in configure()
DFilterAudioStream.cpp66 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.cpp41 int32_t burst = stream.getFramesPerBurst(); in clipBufferSize()
DAudioStreamBuilder.cpp184 optimalBufferSize = streamP->getFramesPerBurst() * in openStream()
DAudioStream.cpp170 int64_t burstInNanos = getFramesPerBurst() * kNanosPerSecond / getSampleRate(); in waitForAvailableFrames()
/external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/
Dsound_system_aaudio.cpp36 int getFramesPerBurst() const { return mFramesPerBurst; } in getFramesPerBurst() function in __anone6a372e40111::Stream
265 mStream->getFramesPerBurst(), MINIMUM_STREAM_BUFFER_SIZE_MS, *samplingRate); in probeDefaults()
368 mStream->getFramesPerBurst(), MINIMUM_STREAM_BUFFER_SIZE_MS, *samplingRate); in probeDefaults()
390 AudioBuffer<sample_t> drainBuffer(mStream->getFramesPerBurst(), mStream->getChannelCount()); in drain()
/external/oboe/src/aaudio/
DAudioStreamAAudio.h70 int32_t getFramesPerBurst() override;
/external/oboe/tests/
DtestStreamClosedMethods.cpp191 auto f = mStream->getFramesPerBurst(); in TEST_F()
193 ASSERT_EQ(mStream->getFramesPerBurst(), f); in TEST_F()
DtestStreamOpen.cpp108 ASSERT_EQ(mStream->getFramesPerBurst(), 128); in TEST_F()
360 int32_t burst = mStream->getFramesPerBurst(); in TEST_F()
/external/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…
/external/oboe/samples/hello-oboe/src/main/cpp/
DHelloOboeEngine.cpp80 numBursts * mStream->getFramesPerBurst()); in setBufferSizeInBursts()
/external/oboe/samples/iolib/src/main/cpp/player/
DSimpleMultiPlayer.cpp101 mAudioStream->getFramesPerBurst() * kBufferSizeInBursts); in openStream()
/external/oboe/include/oboe/
DAudioStream.h208 virtual int32_t getFramesPerBurst() = 0;
/external/oboe/samples/RhythmGame/src/main/cpp/
DGame.cpp197 mAudioStream->getFramesPerBurst() * kBufferSizeInBursts); in openStream()

12