Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dinput_data.c28 writable = float_buffer_writable(data->fbuffer); in input_data_run()
34 wp = float_buffer_write_pointer(data->fbuffer); in input_data_run()
35 for (i = 0; i < data->fbuffer->num_channels; i++) in input_data_run()
38 float_buffer_written(data->fbuffer, writable); in input_data_run()
49 if (data->fbuffer) in input_data_configure()
50 float_buffer_destroy(&data->fbuffer); in input_data_configure()
51 data->fbuffer = float_buffer_create(buffer_size, num_channels); in input_data_configure()
68 if ((*data)->fbuffer) in input_data_destroy()
69 float_buffer_destroy(&(*data)->fbuffer); in input_data_destroy()
77 if (!data->fbuffer) in input_data_set_all_streams_read()
[all …]
Dcras_apm_list.c67 struct float_buffer *fbuffer; member
136 float_buffer_destroy(&(*apm)->fbuffer); in apm_destroy()
286 apm->fbuffer = float_buffer_create(10 * apm->fmt.frame_rate / 1000, in cras_apm_list_add()
532 writable = float_buffer_writable(apm->fbuffer); in cras_apm_list_process()
538 wp = float_buffer_write_pointer(apm->fbuffer); in cras_apm_list_process()
541 for (i = 0; i < apm->fbuffer->num_channels; i++) { in cras_apm_list_process()
561 float_buffer_written(apm->fbuffer, nread); in cras_apm_list_process()
565 if ((float_buffer_writable(apm->fbuffer) == 0) && in cras_apm_list_process()
567 nread = float_buffer_level(apm->fbuffer); in cras_apm_list_process()
568 rp = float_buffer_read_pointer(apm->fbuffer, 0, &nread); in cras_apm_list_process()
[all …]
Dinput_data.h26 struct float_buffer *fbuffer; member