How to record audio from MediaPlayer as source instead of default sources ?

40 viewsandroid media-player mediarecorder
Mashhood Qadeer | 12 xp

I want to record audio from Media player as source.I have searched it a lot but find same thing to record audio from Audio Source having a few parameters like from CAMCORDERMIC and other for voice etc but non of them was about that.Please share any useful link to illustrate that job or suggest any api.