Home
last modified time | relevance | path

Searched refs:spk_time (Results 1 – 1 of 1) sorted by relevance

/device/amlogic/yukawa/hal/audio/
Daudio_aec.c319 void get_spk_timestamp(struct aec_t* aec, ssize_t read_bytes, uint64_t* spk_time) { in get_spk_timestamp() argument
320 *spk_time = 0; in get_spk_timestamp()
343 *spk_time = timespec_to_usec(aec->last_spk_info.timestamp) + spk_time_offset; in get_spk_timestamp()
589 uint64_t spk_time = 0; in process_aec() local
621 spk_time = spk_info.timestamp_usec; in process_aec()
629 int64_t time_diff = (mic_time > spk_time) ? (mic_time - spk_time) : (spk_time - mic_time); in process_aec()
630 if ((spk_time == 0) || (mic_time == 0) || (time_diff > MAX_TIMESTAMP_DIFF_USEC)) { in process_aec()
637 ALOGV("Mic time: %"PRIu64", spk time: %"PRIu64, mic_time, spk_time); in process_aec()
643 aec->spk_buf, spk_time, in process_aec()
655 ALOGV("Mic time: %"PRIu64", spk time: %"PRIu64, mic_time, spk_time); in process_aec()
[all …]