Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternalPlay.cpp88 mClockModel.stop(AudioClock::getNanoseconds()); in requestPause_l()
135 int64_t timeAllConsumed = mClockModel.convertPositionToTime(positionInEmptyMemory); in prepareBuffersForStop()
157 int64_t hardwareReadTime = mClockModel.convertPositionToTime(dacPosition); in prepareBuffersForStop()
204 if (mClockModel.isStarting()) { in processDataNow()
219 int64_t estimatedReadCounter = mClockModel.convertTimeToPosition(currentNanoTime); in processDataNow()
281 wakeTime = mClockModel.convertPositionToTime(targetReadPosition); in processDataNow()
383 ? mClockModel.convertTimeToPosition(AudioClock::getNanoseconds()) in getFramesRead()
DAudioStreamInternalCapture.cpp104 if (mClockModel.isStarting()) { in processDataNow()
123 int64_t estimatedRemoteCounter = mClockModel.convertLatestTimeToPosition(currentNanoTime); in processDataNow()
175 wakeTime = mClockModel.convertPositionToLatestTime(nextPosition); in processDataNow()
265 ? mClockModel.convertTimeToPosition(AudioClock::getNanoseconds()) in getFramesWritten()
DAudioStreamInternal.cpp72 , mClockModel() in AudioStreamInternal()
289 mClockModel.setSampleRate(getDeviceSampleRate()); in configureDataInformation()
290 mClockModel.setFramesPerBurst(deviceFramesPerBurst); in configureDataInformation()
504 mClockModel.start(startTime); in requestStart_l()
582 mClockModel.stop(AudioClock::getNanoseconds()); in requestStop_l()
829 mClockModel.stop(AudioClock::getNanoseconds()); in processData()
891 mClockModel.dump(); in processData()
920 mClockModel.processTimestamp(position, time); in processTimestamp()
986 return isActive() && mAudioEndpoint->isFreeRunning() && mClockModel.isRunning(); in isClockModelInControl()
DAudioStreamInternal.h156 IsochronousClockModel mClockModel; // timing model for chasing the HAL variable