From e7d1b81da83eb5cbbc177f0035e3b0162a7d5dc4 Mon Sep 17 00:00:00 2001 From: Jyri Sarha Date: Wed, 8 Apr 2026 11:12:37 +0300 Subject: [PATCH] Revert "module_adapter: dp: Decrease default heap size from 20k to 16k" This reverts commit a32d983e89de5af592a9cb467b3ca4af9db9f12c. It looks like this causes more trouble than it solves. 16k is not enough heap for 11025Hz to 48000Hz conversion. The inability to have two SRCs active at the same time is not as critical issue as failing some conversions completely. Signed-off-by: Jyri Sarha --- src/audio/module_adapter/module_adapter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/module_adapter/module_adapter.c b/src/audio/module_adapter/module_adapter.c index 9ccbcf33dca5..9218b0df33ce 100644 --- a/src/audio/module_adapter/module_adapter.c +++ b/src/audio/module_adapter/module_adapter.c @@ -62,7 +62,7 @@ static struct dp_heap_user *module_adapter_dp_heap_new(const struct comp_ipc_con { /* src-lite with 8 channels has been seen allocating 14k in one go */ /* FIXME: the size will be derived from configuration */ - const size_t buf_size = 16 * 1024; + const size_t buf_size = 20 * 1024; /* Keep uncached to match the default SOF heap! */ uint8_t *mod_heap_mem = rballoc_align(SOF_MEM_FLAG_USER | SOF_MEM_FLAG_COHERENT,