Searched refs:visu_ctxt (Results 1 – 1 of 1) sorted by relevance
567 uint32_t visualizer_get_delta_time_ms_from_updated_time(visualizer_context_t* visu_ctxt) { in visualizer_get_delta_time_ms_from_updated_time() argument569 if (visu_ctxt->buffer_update_time.tv_sec != 0) { in visualizer_get_delta_time_ms_from_updated_time()572 time_t secs = ts.tv_sec - visu_ctxt->buffer_update_time.tv_sec; in visualizer_get_delta_time_ms_from_updated_time()573 long nsec = ts.tv_nsec - visu_ctxt->buffer_update_time.tv_nsec; in visualizer_get_delta_time_ms_from_updated_time()586 visualizer_context_t * visu_ctxt = (visualizer_context_t *)context; in visualizer_reset() local588 visu_ctxt->capture_idx = 0; in visualizer_reset()589 visu_ctxt->last_capture_idx = 0; in visualizer_reset()590 visu_ctxt->buffer_update_time.tv_sec = 0; in visualizer_reset()591 visu_ctxt->latency = DSP_OUTPUT_LATENCY_MS; in visualizer_reset()592 memset(visu_ctxt->capture_buf, 0x80, CAPTURE_BUF_SIZE); in visualizer_reset()[all …]