Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dinput_data.c27 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()
39 float_buffer_written(data->fbuffer, writable); in input_data_run()
50 if (data->fbuffer) in input_data_configure()
51 float_buffer_destroy(&data->fbuffer); in input_data_configure()
52 data->fbuffer = float_buffer_create(buffer_size, num_channels); in input_data_configure()
69 if ((*data)->fbuffer) in input_data_destroy()
70 float_buffer_destroy(&(*data)->fbuffer); in input_data_destroy()
78 if (!data->fbuffer) in input_data_set_all_streams_read()
[all …]
Dcras_apm_list.c71 struct float_buffer *fbuffer; member
141 float_buffer_destroy(&(*apm)->fbuffer); in apm_destroy()
283 apm->fbuffer = float_buffer_create(10 * apm->fmt.frame_rate / 1000, in cras_apm_list_add()
545 writable = float_buffer_writable(apm->fbuffer); in cras_apm_list_process()
551 wp = float_buffer_write_pointer(apm->fbuffer); in cras_apm_list_process()
554 for (i = 0; i < apm->fbuffer->num_channels; i++) { in cras_apm_list_process()
574 float_buffer_written(apm->fbuffer, nread); in cras_apm_list_process()
578 if ((float_buffer_writable(apm->fbuffer) == 0) && in cras_apm_list_process()
580 nread = float_buffer_level(apm->fbuffer); in cras_apm_list_process()
581 rp = float_buffer_read_pointer(apm->fbuffer, 0, &nread); in cras_apm_list_process()
[all …]
Dinput_data.h26 struct float_buffer *fbuffer; member