Change AudioSource in android

Hi, MediaRecorder.AudioSource has a lot of options: https://developer.android.com/reference/android/media/MediaRecorder.AudioSource

For my app I need to change the type of audio souce, is there any way to do this?

Context:
My app is a music app, I need to stream the local voice, while take the music playing in the local phone two.