I see that there is some API functions corresponding to allocate in AWE(like awe_fwAllocateHeaps), but there does not seem to be a corresponding memory free function(only can destroy the heap of the whole AWE instance like awe_fwDestroyHeaps).
The memory is only released uniformly during destroy.
This means that heap memory can only be allocated through adding variables or arrays in the "constructor" of the init method.
I want to allocate heap memory as a temporary buffer during the process in the customer module, and release this memory after the process.
Is there a way to achieve this?
5:44pm
Hi yue.wang_1049,
Unfortunately there aren't APIs for allocating and freeing up memory in Audio Weaver during run-time. Any scratch memory will need to be reserved in advance for the duration of the AWE instance.
Thanks,
Michael
5:18am
Hi Michael.
Thanks for your comment.