Home | History | Annotate | Download | only in libaudio

Lines Matching full:timestamp

26 // Set to 1 to print timestamp data in CSV format.
351 struct timespec *timestamp)
354 // If we cannot get a lock then try to return a cached position and timestamp.
355 // It is better to return an old timestamp then to wait for a fresh one.
364 *timestamp = mLastPresentationTime;
371 result = getPresentationPosition_l(frames, timestamp);
382 struct timespec *timestamp)
385 // The presentation timestamp should be the same for all devices.
391 if (audioOutput->getHardwareTimestamp(&avail, timestamp) == OK) {
413 uint64_t nanos = (((uint64_t)timestamp->tv_sec) * 1000000000L)
414 + timestamp->tv_nsec;
424 ALOGW("getPresentationPosition: RETROGRADE timestamp, diff = %" PRId64,
428 *timestamp = mLastPresentationTime;
437 mLastPresentationTime = *timestamp;
665 struct timespec timestamp;
666 getPresentationPosition_l(&frames, &timestamp);
671 status_t AudioStreamOut::getNextWriteTimestamp(int64_t *timestamp)
673 return getNextWriteTimestamp_internal(timestamp);
677 int64_t *timestamp)
699 // Find the largest next write timestamp. The goal is to make EVERY
732 // timestamp is the same for all the outputs.
739 *timestamp = max_time;