Home
last modified time | relevance | path

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

/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp1301 struct timespec record_duration;// observed record duration in audio_config_compare() local
1306 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()