Home
last modified time | relevance | path

Searched refs:mFramesPerBurst (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/media/libaaudio/src/client/
DIsochronousClockModel.cpp34 , mFramesPerBurst(64) in IsochronousClockModel()
121 setPositionAndTime(framePosition - mFramesPerBurst, nanoTime - mMaxLatenessInNanos); in processTimestamp()
137 mFramesPerBurst = framesPerBurst; in setFramesPerBurst()
142 int64_t nanosLate = convertDeltaPositionToTime(mFramesPerBurst); // uses mSampleRate in update()
158 int64_t nextBurstIndex = (framePosition + mFramesPerBurst - 1) / mFramesPerBurst; in convertPositionToTime()
159 int64_t nextBurstPosition = mFramesPerBurst * nextBurstIndex; in convertPositionToTime()
176 int64_t nextBurstIndex = nextBurstPosition / mFramesPerBurst; in convertTimeToPosition()
177 int64_t position = nextBurstIndex * mFramesPerBurst; in convertTimeToPosition()
190 ALOGD("mFramesPerBurst = %6d", mFramesPerBurst); in dump()
DIsochronousClockModel.h70 return mFramesPerBurst; in getFramesPerBurst()
114 int32_t mFramesPerBurst; variable
DAudioStreamInternal.cpp201 mFramesPerBurst = framesPerBurst; // only save good value in open()
204 if (capacity < mFramesPerBurst || capacity > MAX_BUFFER_CAPACITY_IN_FRAMES) { in open()
228 mCallbackFrames = mFramesPerBurst; in open()
709 int32_t numBursts = (adjustedFrames + mFramesPerBurst - 1) / mFramesPerBurst; in setBufferSize()
710 adjustedFrames = numBursts * mFramesPerBurst; in setBufferSize()
734 return mFramesPerBurst; in getFramesPerBurst()
DAudioStreamInternal.h160 int32_t mFramesPerBurst = MIN_FRAMES_PER_BURST; // frames per HAL transfer variable
DAudioStreamInternalCapture.cpp141 int64_t nextPosition = mAudioEndpoint.getDataReadCounter() + mFramesPerBurst; in processDataNow()
DAudioStreamInternalPlay.cpp192 int64_t nextPosition = mAudioEndpoint.getDataWriteCounter() + mFramesPerBurst in processDataNow()
/frameworks/av/media/libaaudio/src/binding/
DRingBufferParcelable.cpp64 return mFramesPerBurst; in getFramesPerBurst()
68 mFramesPerBurst = framesPerBurst; in setFramesPerBurst()
91 status = parcel->writeInt32(mFramesPerBurst); in writeToParcel()
114 status = parcel->readInt32(&mFramesPerBurst); in readFromParcel()
152 descriptor->framesPerBurst = mFramesPerBurst; in resolve()
167 if (mFramesPerBurst < 0 || mFramesPerBurst >= 16 * 1024) { in validate()
168 ALOGE("invalid mFramesPerBurst = %d", mFramesPerBurst); in validate()
179 ALOGD("mFramesPerBurst = %d", mFramesPerBurst); in dump()
DRingBufferParcelable.h79 int32_t mFramesPerBurst = 0; // for ISOCHRONOUS queues variable
/frameworks/av/services/oboeservice/
DAAudioMixer.h45 int32_t getFramesPerBurst() const { return mFramesPerBurst; } in getFramesPerBurst()
52 int32_t mFramesPerBurst = 0; variable
DAAudioMixer.cpp42 mFramesPerBurst = framesPerBurst; in allocate()
79 fifo_frames_t framesDesired = mFramesPerBurst; in mix()
DAAudioServiceEndpoint.h90 return mFramesPerBurst; in getFramesPerBurst()
128 int32_t mFramesPerBurst = 0; variable
DAAudioServiceStreamBase.h157 return mFramesPerBurst; in getFramesPerBurst()
299 int32_t mFramesPerBurst = 0; variable
DAAudioServiceEndpointMMAP.cpp231 mFramesPerBurst = mMmapBufferinfo.burst_size_frames; in open()
240 __func__, getFormat(), calculateBytesPerFrame(), mFramesPerBurst); in open()
379 parcelable.mDownDataQueueParcelable.setFramesPerBurst(mFramesPerBurst); in getDownDataDescription()
DAAudioServiceStreamBase.cpp76 result << std::setw(6) << mFramesPerBurst; in dump()
118 mFramesPerBurst = mServiceEndpoint->getFramesPerBurst(); in open()
298 timestampScheduler.setBurstPeriod(mFramesPerBurst, getSampleRate()); in run()
DAAudioServiceEndpoint.cpp59 result << " Frames Per Burst: " << mFramesPerBurst << "\n"; in dump()
DAAudioServiceEndpointShared.cpp82 mFramesPerBurst = mStreamInternal->getFramesPerBurst(); in open()
DAAudioServiceStreamShared.cpp173 mFramesPerBurst)); in open()