Home
last modified time | relevance | path

Searched refs:mClockModel (Results 1 – 4 of 4) sorted by relevance

/aosp12/frameworks/av/media/libaaudio/src/client/
H A DAudioStreamInternalPlay.cpp81 mClockModel.stop(AudioClock::getNanoseconds()); in requestPause_l()
138 if (mClockModel.isStarting()) { in processDataNow()
153 int64_t estimatedReadCounter = mClockModel.convertTimeToPosition(currentNanoTime); in processDataNow()
207 wakeTime = mClockModel.convertPositionToTime(nextReadPosition); in processDataNow()
262 ? mClockModel.convertTimeToPosition(AudioClock::getNanoseconds()) in getFramesRead()
H A DAudioStreamInternalCapture.cpp84 if (mClockModel.isStarting()) { in processDataNow()
103 int64_t estimatedRemoteCounter = mClockModel.convertLatestTimeToPosition(currentNanoTime); in processDataNow()
154 wakeTime = mClockModel.convertPositionToLatestTime(nextPosition); in processDataNow()
211 ? mClockModel.convertTimeToPosition(AudioClock::getNanoseconds()) in getFramesWritten()
H A DAudioStreamInternal.cpp67 , mClockModel() in AudioStreamInternal()
249 mClockModel.setSampleRate(getSampleRate()); in open()
250 mClockModel.setFramesPerBurst(framesPerHardwareBurst); in open()
392 mClockModel.start(startTime); in requestStart_l()
467 mClockModel.stop(AudioClock::getNanoseconds()); in requestStop_l()
754 mClockModel.dump(); in processData()
783 mClockModel.processTimestamp(position, time); in processTimestamp()
838 return isActive() && mAudioEndpoint->isFreeRunning() && mClockModel.isRunning(); in isClockModelInControl()
H A DAudioStreamInternal.h149 IsochronousClockModel mClockModel; // timing model for chasing the HAL variable