diff --git a/src/audio/module_adapter/module_adapter.c b/src/audio/module_adapter/module_adapter.c index 772af199f0c1..9b9d6a2ca57c 100644 --- a/src/audio/module_adapter/module_adapter.c +++ b/src/audio/module_adapter/module_adapter.c @@ -69,7 +69,7 @@ static struct vregion *module_adapter_dp_heap_new(const struct comp_ipc_config * * A 1-to-1 replacement of the original heap implementation would be to * have "lifetime size" equal to 0. But (1) this is invalid for * vregion_create() and (2) we gradually move objects, that are simple - * to move to the lifetime buffer. Make it 1k for the beginning. + * to move to the lifetime buffer. Make it 4k for the beginning. */ return vregion_create(4096, buf_size - 4096); } diff --git a/src/include/sof/audio/audio_buffer.h b/src/include/sof/audio/audio_buffer.h index 2526a7696534..95317e5dc964 100644 --- a/src/include/sof/audio/audio_buffer.h +++ b/src/include/sof/audio/audio_buffer.h @@ -60,6 +60,7 @@ struct audio_buffer_ops { const uint32_t frame_align_req); }; +struct mod_alloc_ctx; /* base class for all buffers, all buffers must inherit from it */ struct sof_audio_buffer { CORE_CHECK_STRUCT_FIELD;