Searched refs:dcblock (Results 1 – 5 of 5) sorted by relevance
/external/adhd/cras/src/dsp/ |
D | dcblock.c | 11 struct dcblock { struct 20 struct dcblock *dcblock_new(float R, unsigned long sample_rate) in dcblock_new() argument 22 struct dcblock *dcblock = (struct dcblock *)calloc(1, sizeof(*dcblock)); in dcblock_new() local 23 dcblock->R = R; in dcblock_new() 24 dcblock->ramp_increment = 1000. / (float)(RAMP_TIME_MS * sample_rate); in dcblock_new() 25 return dcblock; in dcblock_new() 28 void dcblock_free(struct dcblock *dcblock) in dcblock_free() argument 30 free(dcblock); in dcblock_free() 34 void dcblock_process(struct dcblock *dcblock, float *data, int count) in dcblock_process() argument 37 float x_prev = dcblock->x_prev; in dcblock_process() [all …]
|
D | dcblock.h | 15 struct dcblock; 25 struct dcblock *dcblock_new(float R, unsigned long sample_rate); 28 void dcblock_free(struct dcblock *dcblock); 36 void dcblock_process(struct dcblock *dcblock, float *data, int count);
|
/external/adhd/cras/src/dsp/tests/ |
D | dcblock_test.c | 31 static void process(struct dcblock *dcblock, float *data, int count) in process() argument 35 dcblock_process(dcblock, data + start, min(128, count - start)); in process() 43 struct dcblock *dcblockl; in test_file() 44 struct dcblock *dcblockr; in test_file()
|
/external/adhd/cras/src/server/ |
D | cras_dsp_mod_builtin.c | 215 struct dcblock *dcblockl; 216 struct dcblock *dcblockr;
|
/external/adhd/cras/src/ |
D | Makefile.am | 537 dcblock_test_SOURCES = dsp/dcblock.c dsp/dsp_util.c dsp/tests/dcblock_test.c \
|