search for: doverride_opus_alloc

Displaying 2 results from an estimated 2 matches for "doverride_opus_alloc".

Did you mean: override_opus_alloc
2017 Oct 18
4
Global stack on Cortex-M4
..." crashes when stepping through the code. Firstly; for a "bare bone" configuration, does the following compiler directives make sense ? UDEFS = -DOPUS_BUILD -DFIXED_POINT -DDISABLE_FLOAT_API \         -DOPUS_ARM_INLINE_EDSP -DEMBEDDED_ARM -DNONTHREADSAFE_PSEUDOSTACK \         -DOVERRIDE_OPUS_ALLOC  -DOVERRIDE_OPUS_FREE  \          -D'opus_alloc(x)=NULL' -D'opus_free(x)=NULL' Secondly; With the "overide" directives above no dynamic memory allocation is supposed to happen. However, the following call chain (obviously)  cause a crash: opus_encode(..)-> opus_e...
2015 Aug 25
4
OPUS on bare metal ARM
Hi everyone, I?m currently trying to use opus on a ST ARM (STM32F407) without any OS (bare metal). The aim of my project is to transmit voice over CAN bus. The main issue I have is that opus fail to allocate memory, the ALLOC macro always return a NULL pointer. I have sure that I have enough free space to allocate buffers. Is there anyone who already try this or have meet this issue ? Thanks