Searched refs:cras_dsp_context (Results 1 – 6 of 6) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_dsp.h | 15 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, 55 void cras_dsp_load_pipeline(struct cras_dsp_context *ctx); 60 void cras_dsp_load_mock_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 …]
|
D | cras_dsp.c | 27 struct cras_dsp_context { struct 34 struct cras_dsp_context *prev, *next; argument 40 static struct cras_dsp_context *context_list; 67 static struct pipeline *prepare_pipeline(struct cras_dsp_context *ctx, in prepare_pipeline() 107 static void cmd_load_pipeline(struct cras_dsp_context *ctx, in cmd_load_pipeline() 127 struct cras_dsp_context *ctx; in cmd_reload_ini() 166 struct cras_dsp_context *cras_dsp_context_new(int sample_rate, in cras_dsp_context_new() 169 struct cras_dsp_context *ctx = calloc(1, sizeof(*ctx)); in cras_dsp_context_new() 180 void cras_dsp_context_free(struct cras_dsp_context *ctx) in cras_dsp_context_free() 194 void cras_dsp_set_variable_string(struct cras_dsp_context *ctx, const char *key, in cras_dsp_set_variable_string() [all …]
|
D | cras_iodev.h | 292 struct cras_dsp_context *dsp_context;
|
D | cras_iodev.c | 372 struct cras_dsp_context *ctx; in apply_dsp() 403 struct cras_dsp_context *ctx = iodev->dsp_context; in adjust_dev_channel_for_dsp() 1276 struct cras_dsp_context *ctx; in cras_iodev_get_dsp_delay()
|
/external/adhd/cras/src/tests/ |
D | iodev_unittest.cc | 62 struct cras_dsp_context* cras_dsp_context_new_return; 446 cras_dsp_context_new_return = reinterpret_cast<cras_dsp_context*>(0xf0f); in TEST_F() 472 cras_dsp_context_new_return = reinterpret_cast<cras_dsp_context*>(0xf0f); in TEST_F() 772 iodev.dsp_context = reinterpret_cast<cras_dsp_context*>(0x15); in TEST() 2222 iodev.dsp_context = reinterpret_cast<cras_dsp_context*>(0xf0f); in TEST() 2280 iodev.dsp_context = reinterpret_cast<cras_dsp_context*>(0xf0f); in TEST() 2486 struct cras_dsp_context* cras_dsp_context_new(int sample_rate, in cras_dsp_context_new() 2493 void cras_dsp_context_free(struct cras_dsp_context* ctx) { in cras_dsp_context_free() 2497 void cras_dsp_load_pipeline(struct cras_dsp_context* ctx) {} in cras_dsp_load_pipeline() 2498 void cras_dsp_load_mock_pipeline(struct cras_dsp_context* ctx, in cras_dsp_load_mock_pipeline() [all …]
|
D | dsp_unittest.cc | 62 struct cras_dsp_context *ctx1, *ctx3, *ctx4; in TEST_F()
|