Home
last modified time | relevance | path

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

12

/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()
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()
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()
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()
DSourceI24.h31 int32_t onProcess(int64_t framePosition, int32_t numFrames) override;
DSourceFloat.h31 int32_t onProcess(int64_t framePosition, int32_t numFrames) override;
DSourceI16.h31 int32_t onProcess(int64_t framePosition, int32_t numFrames) override;
DMonoToMultiConverter.h34 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
DClipToRange.h39 int32_t onProcess(int64_t framePosition, int32_t numFrames) override;
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/src/client/
DIsochronousClockModel.cpp61 void IsochronousClockModel::setPositionAndTime(int64_t framePosition, int64_t nanoTime) { in setPositionAndTime() argument
62 ALOGV("setPositionAndTime, %lld, %lld", (long long) framePosition, (long long) nanoTime); in setPositionAndTime()
63 mMarkerFramePosition = framePosition; in setPositionAndTime()
96 void IsochronousClockModel::processTimestamp(int64_t framePosition, int64_t nanoTime) { in processTimestamp() argument
101 int64_t framesDelta = framePosition - mMarkerFramePosition; in processTimestamp()
123 setPositionAndTime(framePosition, nanoTime); in processTimestamp()
129 setPositionAndTime(framePosition, nanoTime); in processTimestamp()
145 setPositionAndTime(framePosition, nanoTime); in processTimestamp()
162 setPositionAndTime(framePosition, driftingTime); in processTimestamp()
222 int64_t IsochronousClockModel::convertPositionToTime(int64_t framePosition) const { in convertPositionToTime()
[all …]
DIsochronousClockModel.h53 void processTimestamp(int64_t framePosition, int64_t nanoTime);
60 void setPositionAndTime(int64_t framePosition, int64_t nanoTime);
83 int64_t convertPositionToTime(int64_t framePosition) const;
92 int64_t convertPositionToLatestTime(int64_t framePosition) const;
DAudioStreamInternal.cpp491 int64_t *framePosition, in getTimestamp() argument
498 *framePosition = position; in getTimestamp()
516 int64_t framePosition = command.timestamp.position; in logTimestamp() local
519 (long long) framePosition, in logTimestamp()
523 int64_t framesDelta = framePosition - oldPosition; in logTimestamp()
528 oldPosition = framePosition; in logTimestamp()
/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/base/media/java/android/media/
DAudioTimestamp.java70 public long framePosition; field in AudioTimestamp
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamLegacy.cpp175 int64_t *framePosition, in getBestTimestamp() argument
198 *framePosition = mTimestampPosition.get(); in getBestTimestamp()
DAudioStreamRecord.h47 int64_t *framePosition,
DAudioStreamTrack.h62 int64_t *framePosition,
DAudioStreamLegacy.h108 int64_t *framePosition,
DAudioStreamRecord.cpp502 int64_t *framePosition, in getTimestamp() argument
514 return getBestTimestamp(clockId, framePosition, timeNanoseconds, &extendedTimestamp); in getTimestamp()
/frameworks/av/media/libaaudio/src/core/
DAAudioAudio.cpp508 int64_t *framePosition, in AAudioStream_getTimestamp() argument
512 if (framePosition == nullptr) { in AAudioStream_getTimestamp()
520 return audioStream->getTimestamp(clockid, framePosition, timeNanoseconds); in AAudioStream_getTimestamp()

12