I doubt Google will implement sound support in NDK soon. Personally I
would prefer them to implement exceptions first :)
Anyway, one can use hacks. For example there is that lovely libmedia
lib:
http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree;f=media/libmedia;hb=HEAD
It provides native classes that are used by Java counterparts:
AudioTrack, AudioRecord, etc. So, one can start by trying to compile
and use that library. Of course it is unsupported and will certanly
break in future releases (for example, IAudioFlinger binder interface
changed in eclair), but the good news is that it will certanly work
for previous releases (you may need to have multiple libs though).
Paired with Android version detection and handling this hacky solution
may work decently well.
Dmitry