Lines Matching full:timestamp
41 LOCATION_CLIENT, // timestamp of last read frame from client-server track buffer.
42 LOCATION_SERVER, // timestamp of newest frame from client-server track buffer.
43 LOCATION_KERNEL, // timestamp of newest frame in the kernel (alsa) buffer.
45 // Historical data: info when the kernel timestamp was OK (prior to the newest frame).
46 // This may be useful when the newest frame kernel timestamp is unavailable.
48 LOCATION_SERVER_LASTKERNELOK, // timestamp of server the prior time kernel timestamp OK.
49 LOCATION_KERNEL_LASTKERNELOK, // timestamp of kernel the prior time kernel timestamp OK.
76 // timestamp was taken. This may vary due to suspend time
89 // Call to reset the timestamp to the original (invalid) state
99 // Returns the best timestamp as judged from the closest-to-hw stage in the
100 // pipeline with a valid timestamp. If the optional location parameter is non-null,
108 // look for the closest-to-hw stage in the pipeline with a valid timestamp.
110 // when getting the best timestamp.
124 status_t getBestTimestamp(AudioTimestamp *timestamp, Location *location = nullptr) const {
125 if (timestamp == nullptr) {
130 timestamp->mPosition = position;
131 timestamp->mTime.tv_sec = time / 1000000000;
132 timestamp->mTime.tv_nsec = time - timestamp->mTime.tv_sec * 1000000000LL;