Hello Stuart, If you include freedv_api_internal.h you will have access to freedv states which include codec 2.
Thinking about the use case .... I imagine a user with be either manipulating menus OR running freedv. So perhaps it's OK to hijack the codec 2 states (and the speaker driver) for the duration of the menu session and you don't need to worry about mixing simultaneous audio? BTW could you pls point me at some instructions for the current menu system? I built the code last week but wasn't sure what to do next. Thanks, David On 30/01/16 21:15, Stuart Longland wrote: > On 30/01/16 20:42, David Rowe wrote: >> I'd suggest you first try the code on an x86 - much more benign >> platform. When that works, port to the SM1000. You want to avoid any >> actually debugging on target - for reasons you are experiencing. >> >> I would suggest you do not create another instance of Codec 2 - suspect >> that would make you run out of memory. > > Ahh okay, is it possible to share the instance that FreeDV uses? I > didn't see an obvious way to do that and it didn't seem like a good idea. > > Regards, > ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ Freetel-codec2 mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freetel-codec2
