Searched defs:record_duration (Results 1 - 1 of 1) sorted by relevance

/hardware/libhardware/modules/audio_remote_submix/
H A Daudio_hw.cpp465 struct timespec record_duration;// observed record duration local
470 record_duration.tv_sec = time_after_read.tv_sec - in->record_start_time.tv_sec;
471 record_duration.tv_nsec = time_after_read.tv_nsec - in->record_start_time.tv_nsec;
472 if (record_duration.tv_nsec < 0) {
473 record_duration.tv_sec--;
474 record_duration.tv_nsec += 1000000000;
483 - (record_duration.tv_sec*sample_rate)))
485 - (record_duration.tv_nsec / 1000);
488 record_duration.tv_sec, record_duration
[all...]

Completed in 34 milliseconds