views:

26

answers:

0

I'm looking for a way to decode AAC natively to PCM on Android. The decoder source code is at http://android.git.kernel.org/?p=platform/external/opencore.git;a=tree;f=codecs_v2/audio/aac/dec;hb=HEAD, but I'm not familiar with NDK at all.

1) There's no way of doing this directly using the Android SDK, but can this be done via the NDK?

2) I would especially be interested in a simple way of accessing the decoder from SDK, with a short "bridge" through the NDK. Is this feasible?

3) Would such a solution work all Android versions (1.5-2.2)?

4) I guess I could use http://code.google.com/p/aacplayer-android/ instead, but it looks like this implementation is fairly CPU intensive. Does anyone have experiences with this?