Home
last modified time | relevance | path

Searched refs:cras_dsp_context (Results 1 – 6 of 6) sorted by relevance

/external/adhd/cras/src/server/
Dcras_dsp.h15 struct cras_dsp_context;
37 struct cras_dsp_context *cras_dsp_context_new(int sample_rate,
41 void cras_dsp_context_free(struct cras_dsp_context *ctx);
44 void cras_dsp_set_variable_string(struct cras_dsp_context *ctx, const char *key,
48 void cras_dsp_set_variable_boolean(struct cras_dsp_context *ctx, const char *key,
55 void cras_dsp_load_pipeline(struct cras_dsp_context *ctx);
60 void cras_dsp_load_dummy_pipeline(struct cras_dsp_context *ctx,
65 struct pipeline *cras_dsp_get_pipeline(struct cras_dsp_context *ctx);
71 void cras_dsp_put_pipeline(struct cras_dsp_context *ctx);
80 unsigned int cras_dsp_num_output_channels(const struct cras_dsp_context *ctx);
[all …]
Dcras_dsp.c27 struct cras_dsp_context { struct
34 struct cras_dsp_context *prev, *next; argument
40 static struct cras_dsp_context *context_list;
52 struct cras_dsp_context *ctx, in prepare_pipeline()
92 static void cmd_load_pipeline(struct cras_dsp_context *ctx, in cmd_load_pipeline()
112 struct cras_dsp_context *ctx; in cmd_reload_ini()
149 struct cras_dsp_context *cras_dsp_context_new(int sample_rate, in cras_dsp_context_new()
152 struct cras_dsp_context *ctx = calloc(1, sizeof(*ctx)); in cras_dsp_context_new()
163 void cras_dsp_context_free(struct cras_dsp_context *ctx) in cras_dsp_context_free()
177 void cras_dsp_set_variable_string(struct cras_dsp_context *ctx, const char *key, in cras_dsp_set_variable_string()
[all …]
Dcras_iodev.c349 struct cras_dsp_context *ctx; in apply_dsp()
382 struct cras_dsp_context *ctx = iodev->dsp_context; in adjust_dev_channel_for_dsp()
1188 struct cras_dsp_context *ctx; in cras_iodev_get_dsp_delay()
Dcras_iodev.h239 struct cras_dsp_context *dsp_context;
/external/adhd/cras/src/tests/
Diodev_unittest.cc61 struct cras_dsp_context *cras_dsp_context_new_return;
425 cras_dsp_context_new_return = reinterpret_cast<cras_dsp_context *>(0xf00); in TEST_F()
447 cras_dsp_context_new_return = reinterpret_cast<cras_dsp_context *>(0xf00); in TEST_F()
486 cras_dsp_context_new_return = reinterpret_cast<cras_dsp_context *>(0xf0f); in TEST_F()
514 cras_dsp_context_new_return = reinterpret_cast<cras_dsp_context *>(0xf0f); in TEST_F()
805 iodev.dsp_context = reinterpret_cast<cras_dsp_context*>(0x15); in TEST()
2101 iodev.dsp_context = reinterpret_cast<cras_dsp_context *>(0xf0f); in TEST()
2156 iodev.dsp_context = reinterpret_cast<cras_dsp_context *>(0xf0f); in TEST()
2244 struct cras_dsp_context *cras_dsp_context_new(int sample_rate, in cras_dsp_context_new()
2252 void cras_dsp_context_free(struct cras_dsp_context *ctx) in cras_dsp_context_free()
[all …]
Ddsp_unittest.cc63 struct cras_dsp_context *ctx1, *ctx3, *ctx4; in TEST_F()