Searched refs:last_spk_info (Results 1 – 2 of 2) sorted by relevance
161 memset(&aec->last_spk_info, 0, sizeof(struct aec_info)); in destroy_aec_reference_config_no_lock()328 spk_time_offset = (aec->last_spk_info.bytes + aec->read_write_diff_bytes) * usec_per_byte; in get_spk_timestamp()338 ssize_t ts_bytes = fifo_read(aec->ts_fifo, &aec->last_spk_info, sizeof(struct aec_info)); in get_spk_timestamp()340 aec->read_write_diff_bytes -= aec->last_spk_info.bytes; in get_spk_timestamp()343 *spk_time = timespec_to_usec(aec->last_spk_info.timestamp) + spk_time_offset; in get_spk_timestamp()346 struct aec_info spk_info = aec->last_spk_info; in get_spk_timestamp()362 aec->last_spk_info = spk_info; in get_spk_timestamp()
52 struct aec_info last_spk_info; member