Lines Matching refs:timestamp
112 if (pcm_get_htimestamp(pcm, &info->available, &info->timestamp) < 0) { in get_pcm_timestamp()
114 info->timestamp.tv_sec = 0; in get_pcm_timestamp()
115 info->timestamp.tv_nsec = 0; in get_pcm_timestamp()
124 timestamp_adjust(&info->timestamp, frames, sample_rate); in get_pcm_timestamp()
382 out->timestamp = info.timestamp; in out_write()
409 uint64_t *frames, struct timespec *timestamp) in out_get_presentation_position() argument
411 if (stream == NULL || frames == NULL || timestamp == NULL) { in out_get_presentation_position()
417 *timestamp = out->timestamp; in out_get_presentation_position()
419 audio_utils_ns_from_timespec(timestamp)); in out_get_presentation_position()
438 int64_t *timestamp) in out_get_next_write_timestamp() argument
440 *timestamp = 0; in out_get_next_write_timestamp()
441 ALOGV("out_get_next_write_timestamp: %ld", (long int)(*timestamp)); in out_get_next_write_timestamp()
725 in->timestamp_nsec = audio_utils_ns_from_timespec(&info.timestamp); in in_read()