Home
last modified time | relevance | path

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

/hardware/qcom/audio/msm8909/visualizer/
Doffload_visualizer.c549 uint32_t visualizer_get_delta_time_ms_from_updated_time(visualizer_context_t* visu_ctxt) { in visualizer_get_delta_time_ms_from_updated_time() argument
551 if (visu_ctxt->buffer_update_time.tv_sec != 0) { in visualizer_get_delta_time_ms_from_updated_time()
554 time_t secs = ts.tv_sec - visu_ctxt->buffer_update_time.tv_sec; in visualizer_get_delta_time_ms_from_updated_time()
555 long nsec = ts.tv_nsec - visu_ctxt->buffer_update_time.tv_nsec; in visualizer_get_delta_time_ms_from_updated_time()
568 visualizer_context_t * visu_ctxt = (visualizer_context_t *)context; in visualizer_reset() local
570 visu_ctxt->capture_idx = 0; in visualizer_reset()
571 visu_ctxt->last_capture_idx = 0; in visualizer_reset()
572 visu_ctxt->buffer_update_time.tv_sec = 0; in visualizer_reset()
573 visu_ctxt->latency = DSP_OUTPUT_LATENCY_MS; in visualizer_reset()
574 memset(visu_ctxt->capture_buf, 0x80, CAPTURE_BUF_SIZE); in visualizer_reset()
[all …]
/hardware/qcom/audio/visualizer/
Doffload_visualizer.c557 uint32_t visualizer_get_delta_time_ms_from_updated_time(visualizer_context_t* visu_ctxt) { in visualizer_get_delta_time_ms_from_updated_time() argument
559 if (visu_ctxt->buffer_update_time.tv_sec != 0) { in visualizer_get_delta_time_ms_from_updated_time()
562 time_t secs = ts.tv_sec - visu_ctxt->buffer_update_time.tv_sec; in visualizer_get_delta_time_ms_from_updated_time()
563 long nsec = ts.tv_nsec - visu_ctxt->buffer_update_time.tv_nsec; in visualizer_get_delta_time_ms_from_updated_time()
576 visualizer_context_t * visu_ctxt = (visualizer_context_t *)context; in visualizer_reset() local
578 visu_ctxt->capture_idx = 0; in visualizer_reset()
579 visu_ctxt->last_capture_idx = 0; in visualizer_reset()
580 visu_ctxt->buffer_update_time.tv_sec = 0; in visualizer_reset()
581 visu_ctxt->latency = DSP_OUTPUT_LATENCY_MS; in visualizer_reset()
582 memset(visu_ctxt->capture_buf, 0x80, CAPTURE_BUF_SIZE); in visualizer_reset()
[all …]