Home
last modified time | relevance | path

Searched refs:cras_apm (Results 1 – 9 of 9) sorted by relevance

/external/adhd/cras/src/server/
Dcras_apm_list.h13 struct cras_apm;
66 struct cras_apm *cras_apm_list_add_apm(struct cras_apm_list *list,
78 struct cras_apm *cras_apm_list_get_active_apm(void *stream_ptr, void *dev_ptr);
119 int cras_apm_list_process(struct cras_apm *apm, struct float_buffer *input,
130 struct cras_audio_area *cras_apm_list_get_processed(struct cras_apm *apm);
138 void cras_apm_list_put_processed(struct cras_apm *apm, unsigned int frames);
144 struct cras_audio_format *cras_apm_list_get_format(struct cras_apm *apm);
149 bool cras_apm_list_get_use_tuned_settings(struct cras_apm *apm);
180 static inline struct cras_apm *
186 static inline struct cras_apm *cras_apm_list_get_active_apm(void *stream_ptr, in cras_apm_list_get_active_apm()
[all …]
Dcras_apm_list.c69 struct cras_apm { struct
79 struct cras_apm *prev, *next; argument
95 struct cras_apm *apms;
109 struct cras_apm *apm;
158 static void apm_destroy(struct cras_apm **apm) in apm_destroy()
203 struct cras_apm *cras_apm_list_get_active_apm(void *stream_ptr, void *dev_ptr) in cras_apm_list_get_active_apm()
219 struct cras_apm *apm; in cras_apm_list_remove_apm()
267 struct cras_apm *cras_apm_list_add_apm(struct cras_apm_list *list, in cras_apm_list_add_apm()
272 struct cras_apm *apm; in cras_apm_list_add_apm()
282 apm = (struct cras_apm *)calloc(1, sizeof(*apm)); in cras_apm_list_add_apm()
[all …]
Dinput_data.c151 struct cras_apm *apm; in input_data_get_for_stream()
184 struct cras_apm *apm = in input_data_put_for_stream()
199 struct cras_apm *apm; in input_data_get_software_gain_scaler()
Dcras_rstream.c354 struct cras_apm *apm; in cras_rstream_post_processing_format()
/external/adhd/cras/src/tests/
Dinput_data_unittest.cc17 #define FAKE_CRAS_APM_PTR reinterpret_cast<struct cras_apm*>(0x99)
23 static struct cras_apm* cras_apm_list_get_active_ret = NULL;
118 struct cras_apm* cras_apm_list_get_active_apm(void* stream_ptr, void* dev_ptr) { in cras_apm_list_get_active_apm()
121 int cras_apm_list_process(struct cras_apm* apm, in cras_apm_list_process()
129 struct cras_audio_area* cras_apm_list_get_processed(struct cras_apm* apm) { in cras_apm_list_get_processed()
133 void cras_apm_list_put_processed(struct cras_apm* apm, unsigned int frames) {} in cras_apm_list_put_processed()
134 bool cras_apm_list_get_use_tuned_settings(struct cras_apm* apm) { in cras_apm_list_get_use_tuned_settings()
Drstream_unittest.cc417 #define FAKE_CRAS_APM_PTR reinterpret_cast<struct cras_apm*>(0x99)
421 struct cras_apm* cras_apm_list_get_active_apm(void* stream_ptr, void* dev_ptr) { in cras_apm_list_get_active_apm()
430 struct cras_apm* cras_apm_list_get(struct cras_apm_list* list, void* dev_ptr) { in cras_apm_list_get()
433 struct cras_audio_format* cras_apm_list_get_format(struct cras_apm* apm) { in cras_apm_list_get_format()
Dapm_list_unittest.cc91 struct cras_apm* apm; in TEST()
223 struct cras_apm* apm; in TEST()
281 struct cras_apm* apm; in TEST()
335 struct cras_apm *apm1, *apm2; in TEST()
Daudio_thread_unittest.cc1440 void cras_apm_list_set_debug_recording(struct cras_apm* apm, in cras_apm_list_set_debug_recording()
Diodev_list_unittest.cc2339 struct cras_apm* cras_apm_list_add_apm(struct cras_apm_list* list, in cras_apm_list_add_apm()