Home
last modified time | relevance | path

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

12

/frameworks/av/media/libaaudio/src/client/
DIsochronousClockModel.cpp42 void IsochronousClockModel::setPositionAndTime(int64_t framePosition, int64_t nanoTime) { in setPositionAndTime() argument
43 ALOGV("setPositionAndTime, %lld, %lld", (long long) framePosition, (long long) nanoTime); in setPositionAndTime()
44 mMarkerFramePosition = framePosition; in setPositionAndTime()
71 void IsochronousClockModel::processTimestamp(int64_t framePosition, int64_t nanoTime) { in processTimestamp() argument
76 int64_t framesDelta = framePosition - mMarkerFramePosition; in processTimestamp()
97 setPositionAndTime(framePosition, nanoTime); in processTimestamp()
103 setPositionAndTime(framePosition, nanoTime); in processTimestamp()
119 setPositionAndTime(framePosition, nanoTime); in processTimestamp()
134 setPositionAndTime(framePosition, nanoTime - (2 * mBurstPeriodNanos)); in processTimestamp()
157 setPositionAndTime(framePosition, driftingTime); in processTimestamp()
[all …]
DIsochronousClockModel.h50 void processTimestamp(int64_t framePosition, int64_t nanoTime);
57 void setPositionAndTime(int64_t framePosition, int64_t nanoTime);
80 int64_t convertPositionToTime(int64_t framePosition) const;
89 int64_t convertPositionToLatestTime(int64_t framePosition) const;
DAudioStreamInternal.cpp437 int64_t *framePosition, in getTimestamp() argument
444 *framePosition = position; in getTimestamp()
462 int64_t framePosition = command.timestamp.position; in logTimestamp() local
465 (long long) framePosition, in logTimestamp()
469 int64_t framesDelta = framePosition - oldPosition; in logTimestamp()
474 oldPosition = framePosition; in logTimestamp()
/frameworks/av/media/libaaudio/src/flowgraph/
DAudioProcessorBase.cpp24 int32_t AudioProcessorBase::pullData(int64_t framePosition, int32_t numFrames) { in pullData() argument
25 if (framePosition > mLastFramePosition) { in pullData()
26 mLastFramePosition = framePosition; in pullData()
27 mFramesValid = onProcess(framePosition, numFrames); in pullData()
48 int32_t AudioFloatOutputPort::pullData(int64_t framePosition, int32_t numFrames) { in pullData() argument
50 return mParent.pullData(framePosition, numFrames); in pullData()
63 int32_t AudioFloatInputPort::pullData(int64_t framePosition, int32_t numFrames) { in pullData() argument
66 : mConnected->pullData(framePosition, numFrames); in pullData()
DAudioProcessorBase.h56 virtual int32_t onProcess(int64_t framePosition, int32_t numFrames) = 0;
67 int32_t pullData(int64_t framePosition, int32_t numFrames);
155 int32_t pullData(int64_t framePosition, int32_t numFrames);
195 int32_t pullData(int64_t framePosition, int32_t numFrames);
276 int32_t onProcess(int64_t framePosition, int32_t numFrames) override { in onProcess() argument
277 (void) framePosition; in onProcess()
DMonoToMultiConverter.cpp31 int32_t MonoToMultiConverter::onProcess(int64_t framePosition, int32_t numFrames) { in onProcess() argument
32 int32_t framesToProcess = input.pullData(framePosition, numFrames); in onProcess()
DClipToRange.cpp29 int32_t ClipToRange::onProcess(int64_t framePosition, int32_t numFrames) { in onProcess() argument
30 int32_t framesToProcess = input.pullData(framePosition, numFrames); in onProcess()
DRampLinear.cpp46 int32_t RampLinear::onProcess(int64_t framePosition, int32_t numFrames) { in onProcess() argument
47 int32_t framesToProcess = input.pullData(framePosition, numFrames); in onProcess()
DSourceI16.h31 int32_t onProcess(int64_t framePosition, int32_t numFrames) override;
DSourceFloat.h31 int32_t onProcess(int64_t framePosition, int32_t numFrames) override;
DSourceI24.h31 int32_t onProcess(int64_t framePosition, int32_t numFrames) override;
DMonoToMultiConverter.h34 int32_t onProcess(int64_t framePosition, int32_t numFrames) override;
DClipToRange.h39 int32_t onProcess(int64_t framePosition, int32_t numFrames) override;
DSourceFloat.cpp28 int32_t SourceFloat::onProcess(int64_t framePosition, int32_t numFrames) { in onProcess() argument
DRampLinear.h34 int32_t onProcess(int64_t framePosition, int32_t numFrames) override;
DSourceI16.cpp33 int32_t SourceI16::onProcess(int64_t framePosition, int32_t numFrames) { in onProcess() argument
DSourceI24.cpp35 int32_t SourceI24::onProcess(int64_t framePosition, int32_t numFrames) { in onProcess() argument
/frameworks/av/media/libaaudio/examples/input_monitor/src/
Dinput_monitor.cpp167 int64_t framePosition = 0; in main() local
171 &framePosition, &frameTime); in main()
178 framePosition, frameTime, in main()
184 (long long) framePosition, in main()
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamLegacy.cpp174 int64_t *framePosition, in getBestTimestamp() argument
197 *framePosition = mTimestampPosition.get(); in getBestTimestamp()
DAudioStreamRecord.h47 int64_t *framePosition,
DAudioStreamTrack.h62 int64_t *framePosition,
DAudioStreamLegacy.h108 int64_t *framePosition,
DAudioStreamRecord.cpp485 int64_t *framePosition, in getTimestamp() argument
497 return getBestTimestamp(clockId, framePosition, timeNanoseconds, &extendedTimestamp); in getTimestamp()
/frameworks/base/media/java/android/media/
DAudioTimestamp.java70 public long framePosition; field in AudioTimestamp
/frameworks/av/media/libaaudio/src/core/
DAAudioAudio.cpp482 int64_t *framePosition, in AAudioStream_getTimestamp() argument
486 if (framePosition == nullptr) { in AAudioStream_getTimestamp()
494 return audioStream->getTimestamp(clockid, framePosition, timeNanoseconds); in AAudioStream_getTimestamp()

12