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()
117 setPositionAndTime(framePosition - mFramesPerBurst, nanoTime - mMaxLatenessInNanos); in processTimestamp()
133 mFramesPerBurst = framesPerBurst; in setFramesPerBurst()
138 int64_t nanosLate = convertDeltaPositionToTime(mFramesPerBurst); // uses mSampleRate in update()
154 int64_t nextBurstIndex = (framePosition + mFramesPerBurst - 1) / mFramesPerBurst; in convertPositionToTime()
155 int64_t nextBurstPosition = mFramesPerBurst * nextBurstIndex; in convertPositionToTime()
172 int64_t nextBurstIndex = nextBurstPosition / mFramesPerBurst; in convertTimeToPosition()
173 int64_t position = nextBurstIndex * mFramesPerBurst; in convertTimeToPosition()
186 ALOGD("IsochronousClockModel::mFramesPerBurst = %6d", mFramesPerBurst); in dump()
DAudioStreamInternal.cpp64 , mFramesPerBurst(16) in AudioStreamInternal()
154 mFramesPerBurst = mEndpointDescriptor.dataQueueDescriptor.framesPerBurst; in open()
158 if (mFramesPerBurst < 16 || mFramesPerBurst > 16 * 1024) { in open()
159 ALOGE("AudioStreamInternal::open(): framesPerBurst out of range = %d", mFramesPerBurst); in open()
163 if (capacity < mFramesPerBurst || capacity > 32 * 1024) { in open()
170 mClockModel.setFramesPerBurst(mFramesPerBurst); in open()
187 mCallbackFrames = mFramesPerBurst; in open()
DIsochronousClockModel.h62 return mFramesPerBurst; in getFramesPerBurst()
106 int32_t mFramesPerBurst; variable
DAudioStreamInternal.h144 int32_t mFramesPerBurst; // frames per HAL transfer variable
DAudioStreamInternalCapture.cpp138 int64_t nextPosition = mAudioEndpoint.getDataReadCounter() + mFramesPerBurst; in processDataNow()
DAudioStreamInternalPlay.cpp180 int64_t nextPosition = mAudioEndpoint.getDataWriteCounter() + mFramesPerBurst in processDataNow()
/frameworks/av/media/libaaudio/src/binding/
DRingBufferParcelable.cpp63 return mFramesPerBurst; in getFramesPerBurst()
67 mFramesPerBurst = framesPerBurst; in setFramesPerBurst()
87 status = parcel->writeInt32(mFramesPerBurst); in writeToParcel()
110 status = parcel->readInt32(&mFramesPerBurst); in readFromParcel()
148 descriptor->framesPerBurst = mFramesPerBurst; in resolve()
164 if (mFramesPerBurst < 0 || mFramesPerBurst >= 16 * 1024) { in validate()
165 ALOGE("RingBufferParcelable invalid mFramesPerBurst = %d", mFramesPerBurst); in validate()
188 ALOGD("RingBufferParcelable mFramesPerBurst = %d", mFramesPerBurst); in dump()
DRingBufferParcelable.h78 int32_t mFramesPerBurst = 0; // for ISOCHRONOUS queues variable
/frameworks/av/services/oboeservice/
DAAudioMixer.cpp42 mFramesPerBurst = framesPerBurst; in allocate()
55 fifo_frames_t framesLeft = mFramesPerBurst; in mix()
94 fifo->getFifoControllerBase()->advanceReadIndex(mFramesPerBurst); in mix()
DAAudioServiceEndpointMMAP.cpp208 mFramesPerBurst = mMmapBufferinfo.burst_size_frames; in open()
217 mFramesPerBurst *= 2; in open()
219 burstMicros = mFramesPerBurst * static_cast<int64_t>(1000000) / getSampleRate(); in open()
223 mMmapBufferinfo.burst_size_frames, burstMinMicros, mFramesPerBurst); in open()
357 parcelable.mDownDataQueueParcelable.setFramesPerBurst(mFramesPerBurst); in getDownDataDescription()
DAAudioServiceEndpoint.h83 return mFramesPerBurst; in getFramesPerBurst()
110 int32_t mFramesPerBurst = 0; variable
DAAudioServiceStreamBase.h153 return mFramesPerBurst; in getFramesPerBurst()
229 int32_t mFramesPerBurst = 0; variable
DAAudioMixer.h49 int32_t mFramesPerBurst = 0; variable
DAAudioServiceStreamBase.cpp76 result << std::setw(6) << mFramesPerBurst; in dump()
121 mFramesPerBurst = mServiceEndpoint->getFramesPerBurst(); in open()
296 timestampScheduler.setBurstPeriod(mFramesPerBurst, getSampleRate()); in run()
DAAudioServiceEndpoint.cpp59 result << " Frames Per Burst: " << mFramesPerBurst << "\n"; in dump()
DAAudioServiceEndpointShared.cpp81 mFramesPerBurst = mStreamInternal->getFramesPerBurst(); in open()
DAAudioServiceStreamShared.cpp168 mFramesPerBurst)); in open()