Hello,
I'm evaluating using the opus library included as a of the "nRFready Smart Remote 3 nRF52" as a part of our zephyr based application. We only need to decode stored opus voice files and don't do any encoding. Our application is quite limited on RAM, so we'd like to reduce the stack sizes used by opus as much as possible. I've been able to integrate it properly and things to seem to work, but am wondering how to set the stack sizes accordingly. Currently we're using 8kHz Sampling Frequency, CELT, 16K constant bitrate, 10mS Frame Size, 1 Channel. This leads to 9224 for the OpusDecoder structure, and our stack size is set at 10k bytes for the dynamically allocated ALLOCs throughout the opus code.
I wanted to ask for recommendations on the recommended minimum stack size for opus decoding?
Also, would you modify any of the parameters to reduce the RAM usage?
Thanks,
Francisco