3 Sep
2017
3 Sep
'17
11:17 p.m.
delay lines are typically several kB in size so use buffer allocator.
Signed-off-by: Liam Girdwood liam.r.girdwood@linux.intel.com --- src/audio/src.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/audio/src.c b/src/audio/src.c index 0344bed..c11ef3f 100644 --- a/src/audio/src.c +++ b/src/audio/src.c @@ -357,7 +357,7 @@ static int src_params(struct comp_dev *dev) if (cd->delay_lines != NULL) rfree(cd->delay_lines);
- cd->delay_lines = rzalloc(RZONE_RUNTIME, RFLAGS_NONE, delay_lines_size); + cd->delay_lines = rballoc(RZONE_RUNTIME, RFLAGS_NONE, delay_lines_size); if (cd->delay_lines == NULL) { trace_src_error("sr3"); trace_value(delay_lines_size);
--
2.11.0