Home
last modified time | relevance | path

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

/frameworks/av/services/oboeservice/
DAAudioServiceEndpointCapture.cpp46 int distributionBufferSizeBytes = getStreamInternal()->getFramesPerBurst() in open()
66 getFramesPerBurst(), timeoutNanos); in callbackLoop()
71 } else if (result != getFramesPerBurst()) { in callbackLoop()
73 result, getFramesPerBurst()); in callbackLoop()
86 getFramesPerBurst()); in callbackLoop()
DAAudioServiceEndpointPlay.cpp53 getStreamInternal()->getFramesPerBurst()); in open()
60 int32_t desiredBufferSize = burstsPerBuffer * getStreamInternal()->getFramesPerBurst(); in open()
122 && framesMixed < mMixer.getFramesPerBurst(); in callbackLoop()
148 getFramesPerBurst(), timeoutNanos); in callbackLoop()
153 } else if (result != getFramesPerBurst()) { in callbackLoop()
155 result, getFramesPerBurst()); in callbackLoop()
DAAudioMixer.h46 int32_t getFramesPerBurst() const { return mFramesPerBurst; } in getFramesPerBurst() function
DAAudioServiceEndpointShared.cpp88 mFramesPerBurst = mStreamInternal->getFramesPerBurst(); in open()
124 int64_t periodNanos = getStreamInternal()->getFramesPerBurst() in startSharingThread_l()
DAAudioServiceStreamShared.cpp225 parcelable->mDownDataQueueParcelable.setFramesPerBurst(getFramesPerBurst()); in getAudioDataDescription_l()
287 if (fifo->getEmptyFramesAvailable() < getFramesPerBurst()) { in writeDataIfRoom()
DAAudioServiceEndpoint.h108 int32_t getFramesPerBurst() const { in getFramesPerBurst() function
DAAudioServiceStreamBase.cpp124 .set(AMEDIAMETRICS_PROP_BURSTFRAMES, (int32_t)getFramesPerBurst()) in logOpen()
176 mFramesPerBurst = mServiceEndpoint->getFramesPerBurst(); in open()
DAAudioServiceStreamBase.h158 int32_t getFramesPerBurst() const { in getFramesPerBurst() function
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp283 if (mBufferCapacityInFrames < getFramesPerBurst() in configureDataInformation()
303 mCallbackFrames = getFramesPerBurst(); in configureDataInformation()
536 return calculateReasonableTimeout(getFramesPerBurst()); in calculateReasonableTimeout()
924 const int32_t maximumSize = getBufferCapacity() - getFramesPerBurst(); in setBufferSize()
927 int32_t numBursts = (static_cast<int64_t>(adjustedFrames) + getFramesPerBurst() - 1) / in setBufferSize()
928 getFramesPerBurst(); in setBufferSize()
952 const int32_t bufferSizeInFrames = numBursts * getFramesPerBurst(); in setBufferSize()
DAudioStreamInternalPlay.cpp128 emptyFramesInBuffer - getFramesPerBurst()); in prepareBuffersForStop()
134 int64_t positionInEmptyMemory = getFramesWritten() + getFramesPerBurst(); in prepareBuffersForStop()
229 advanceClientToMatchServerPosition(getFramesPerBurst()); in processDataNow()
DIsochronousClockModel.h73 int32_t getFramesPerBurst() const { in getFramesPerBurst() function
/frameworks/av/media/libaaudio/src/binding/
DRingBufferParcelable.cpp93 int32_t RingBufferParcelable::getFramesPerBurst() const { in getFramesPerBurst() function in RingBufferParcelable
142 setFramesPerBurst(parcelable.getFramesPerBurst()); in updateMemory()
DRingBufferParcelable.h70 int32_t getFramesPerBurst() const;
/frameworks/av/media/libaaudio/tests/
Dtest_marshalling.cpp185 EXPECT_EQ(ringBufferA.getFramesPerBurst(), ringBufferB.getFramesPerBurst()); in TEST()
Dtest_clock_model.cpp129 ASSERT_EQ(HW_FRAMES_PER_BURST, model.getFramesPerBurst()); in TEST_F()
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamTrack.cpp322 || getFramesPerBurstFromDevice() != getFramesPerBurst()) { in onNewIAudioTrack()
487 if (requestedFrames < getFramesPerBurst()) { in setBufferSize()
488 requestedFrames = getFramesPerBurst(); in setBufferSize()
DAudioStreamRecord.cpp242 ? mCallbackBufferSize : getFramesPerBurst(); in open()
248 mFormatConversionBufferSizeInFrames = getFramesPerBurst(); in open()
/frameworks/av/media/libaaudio/src/core/
DAudioStream.h211 virtual int32_t getFramesPerBurst() const { in getFramesPerBurst() function
DAudioStream.cpp131 .set(AMEDIAMETRICS_PROP_BURSTFRAMES, getFramesPerBurst()) in logOpenActual()
DAAudioAudio.cpp488 return audioStream->getFramesPerBurst(); in AAudioStream_getFramesPerBurst()