From 494ea794ba399744614cec772d99aa485cce5bdf Mon Sep 17 00:00:00 2001 From: xufulong Date: Wed, 22 Sep 2021 19:34:30 +0800 Subject: [PATCH] change int16_t to int8_t --- app/src/main/cpp/visualizer/execute_fft.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/cpp/visualizer/execute_fft.c b/app/src/main/cpp/visualizer/execute_fft.c index 7932f08..9423973 100644 --- a/app/src/main/cpp/visualizer/execute_fft.c +++ b/app/src/main/cpp/visualizer/execute_fft.c @@ -207,7 +207,7 @@ int init_visualizer(filter_sys_t *p_filter) p_filter->data_size = 0; p_filter->nb_samples = 0; p_filter->out_samples = FFT_BUFFER_SIZE; - p_filter->output = (int16_t *) (malloc(p_filter->out_samples * sizeof(int16_t))); + p_filter->output = (int8_t *) (malloc(p_filter->out_samples * sizeof(int8_t))); return 0; }