Part Number: CC1352P
Hi,
I'm currently trying to implement the Audio Stream functionalities with the Opus codec (based on rfAudioTx example) from the Audio Plugin in an EasyLink project (based on rfEasyLinkEcho examples). However, when the Packetizer_open function tries to allocate memory for the scratch buffer (13200 Bytes) for the Opus codec, a NULL pointer is returned, which then leads to the packetizer not being initialized properly. I don't know why the allocation fails, and I'm out of ideas on why this happens.
But, as shown below, the chip should have enough free memory, judging from the Memory Allocation view.
This is my callstack:
The allocation of the same memory size (obviously) works on the rfAudioTx example itself. The following line of code (in green) is the call that returns the NULL pointer This is located in the file release_pem4f.c of the CC13x2 CC26x2 SDK ver 5.20.00.52.
Let me know if you need further information.
Thank you in advance.
Greetings,
Alex