I found this link that provides a code to access msm_pcm_in phone input device. I was wondering if anyone has this business?
http://android-jotting.blogspot.com/2010/12/android-accessing-input-device-from.html
Yes, this works for me (of course, root access is required).