How to extract audio data from the tegra 3


I am still a beginner when it comes to android, tegra 3, etc… please would someone put me on the right track regarding this question.

I program mainly for my use and use an android device with the tegra 3 SoC. Would you be able to suggest a method in how I could read the live audio data from the master out into my android programme. I usually use the android sdk and program using java, but am willing to do some extra work if I have to use the native code. Please help. Thank you.