Searched refs:record_duration (Results 1 – 1 of 1) sorted by relevance
1301 struct timespec record_duration;// observed record duration in audio_config_compare() local1306 record_duration.tv_sec = time_after_read.tv_sec - in->record_start_time.tv_sec; in audio_config_compare()1307 record_duration.tv_nsec = time_after_read.tv_nsec - in->record_start_time.tv_nsec; in audio_config_compare()1308 if (record_duration.tv_nsec < 0) { in audio_config_compare()1309 record_duration.tv_sec--; in audio_config_compare()1310 record_duration.tv_nsec += 1000000000; in audio_config_compare()1319 - (record_duration.tv_sec*sample_rate))) in audio_config_compare()1321 - (record_duration.tv_nsec / 1000); in audio_config_compare()1324 record_duration.tv_sec, record_duration.tv_nsec/1000000, in audio_config_compare()