I think it would be extremely difficult to do this in current
architecture of android(you need to have a sound server running in
android to do this kind of task).Basically you need to change your
alsa driver to do that.By just calling audiotrack api's it would be
difficult to get both the device(playback and recording) to start
simultaneously.

Below is a reply from Paul davis where the question was multiple sound
cards but in your case it would be two substreams(alsa terminology)
pcm0c and pcm0p.
http://www.mail-archive.com/[email protected]/msg00040.html

Someone from windriver team can lend a hand and probably add some api
to alsa files to give this feature to applications for doing this kind
of task.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to