Lines Matching full:timestamp
208 status_t MonoPipe::getNextWriteTimestamp(int64_t *timestamp)
212 ALOG_ASSERT(NULL != timestamp);
217 observeFrontAndNRPTS(&front, timestamp);
219 if (AudioBufferProvider::kInvalidPTS != *timestamp) {
220 // If we have a valid read-pointer and next read timestamp pair, then
222 // frames are in the buffer, and offset the timestamp by that amt. Then
224 // the next read timestamp plus the current amount of data in the
227 *timestamp = offsetTimestampByAudioFrames(*timestamp, pendingFrames);
316 status_t MonoPipe::getTimestamp(AudioTimestamp& timestamp)
318 if (mTimestampObserver.poll(timestamp)) {