/frameworks/av/media/libaaudio/src/client/ |
D | IsochronousClockModel.cpp | 42 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 …]
|
D | IsochronousClockModel.h | 50 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;
|
D | AudioStreamInternal.cpp | 437 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/ |
D | AudioProcessorBase.cpp | 24 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()
|
D | AudioProcessorBase.h | 56 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()
|
D | MonoToMultiConverter.cpp | 31 int32_t MonoToMultiConverter::onProcess(int64_t framePosition, int32_t numFrames) { in onProcess() argument 32 int32_t framesToProcess = input.pullData(framePosition, numFrames); in onProcess()
|
D | ClipToRange.cpp | 29 int32_t ClipToRange::onProcess(int64_t framePosition, int32_t numFrames) { in onProcess() argument 30 int32_t framesToProcess = input.pullData(framePosition, numFrames); in onProcess()
|
D | RampLinear.cpp | 46 int32_t RampLinear::onProcess(int64_t framePosition, int32_t numFrames) { in onProcess() argument 47 int32_t framesToProcess = input.pullData(framePosition, numFrames); in onProcess()
|
D | SourceI16.h | 31 int32_t onProcess(int64_t framePosition, int32_t numFrames) override;
|
D | SourceFloat.h | 31 int32_t onProcess(int64_t framePosition, int32_t numFrames) override;
|
D | SourceI24.h | 31 int32_t onProcess(int64_t framePosition, int32_t numFrames) override;
|
D | MonoToMultiConverter.h | 34 int32_t onProcess(int64_t framePosition, int32_t numFrames) override;
|
D | ClipToRange.h | 39 int32_t onProcess(int64_t framePosition, int32_t numFrames) override;
|
D | SourceFloat.cpp | 28 int32_t SourceFloat::onProcess(int64_t framePosition, int32_t numFrames) { in onProcess() argument
|
D | RampLinear.h | 34 int32_t onProcess(int64_t framePosition, int32_t numFrames) override;
|
D | SourceI16.cpp | 33 int32_t SourceI16::onProcess(int64_t framePosition, int32_t numFrames) { in onProcess() argument
|
D | SourceI24.cpp | 35 int32_t SourceI24::onProcess(int64_t framePosition, int32_t numFrames) { in onProcess() argument
|
/frameworks/av/media/libaaudio/examples/input_monitor/src/ |
D | input_monitor.cpp | 167 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/ |
D | AudioStreamLegacy.cpp | 174 int64_t *framePosition, in getBestTimestamp() argument 197 *framePosition = mTimestampPosition.get(); in getBestTimestamp()
|
D | AudioStreamRecord.h | 47 int64_t *framePosition,
|
D | AudioStreamTrack.h | 62 int64_t *framePosition,
|
D | AudioStreamLegacy.h | 108 int64_t *framePosition,
|
D | AudioStreamRecord.cpp | 485 int64_t *framePosition, in getTimestamp() argument 497 return getBestTimestamp(clockId, framePosition, timeNanoseconds, &extendedTimestamp); in getTimestamp()
|
/frameworks/base/media/java/android/media/ |
D | AudioTimestamp.java | 70 public long framePosition; field in AudioTimestamp
|
/frameworks/av/media/libaaudio/src/core/ |
D | AAudioAudio.cpp | 482 int64_t *framePosition, in AAudioStream_getTimestamp() argument 486 if (framePosition == nullptr) { in AAudioStream_getTimestamp() 494 return audioStream->getTimestamp(clockid, framePosition, timeNanoseconds); in AAudioStream_getTimestamp()
|