OpenSL ES buffers are owned by the application, so there's no reason why you shouldn't be able to free them from a callback completion handler. [It's an unusual place to do it, but it should work.] Suggestions: get a stack trace with line numbers at SIGSEGV. Also try simplifying the program until the SIGSEGV goes away; often the last thing removed will provide a hint as to where the problem may be.
On Friday, July 13, 2012 3:53:47 PM UTC-7, Glennward Turtle wrote:
I have an implementation on top of OpenSL that will queue up to 32 buffers and delete them within the callback on the assumption that they are no longer needed by Android. However, I experience SIGSEGV when shutting down the engine and all related objects. Yes, I have cleared the buffer via the Clear() method. Might this be the source of my trouble?