[chuck-dev] Rewriting audio wrapper for OpenSL ES

Kenneth Stewart kstewartgt at gmail.com
Mon Mar 12 10:15:21 EDT 2012


I'm working on a senior design project where we're trying to explore
porting ChucK to work on Android devices using the Android NDK.
Currently we're working on rewriting some of the digiio_rtaudio
wrapper to use OpenSL ES instead of the rtaudio functions. I was
wondering if anyone could provide any advice or tips for doing this,
or just let us know if we're heading down the wrong path.

We think we've isolated the areas where rtaudio functions are used and
want to substitute those calls for the right series of OpenSL
functions, but figuring out what the appropriate mappings are between
what OpenSL needs and what ChucK expects to connect to is taking a
good bit of research. Are there any obvious pitfalls we should be
aware of?

Thank you for any advice in this area.

More information about the chuck-dev mailing list