tags:

views:

65

answers:

1

Hello,

I am looking to develop an application and would like to know if the earpiece audio output can be captured.

Thanks, Matt

+1  A: 

Looking at the documentation for MediaRecorder.AudioSource I would say that this should be possible using the VOICE_DOWNLINK source.

MediaRecorder recorder = new MediaRecorder();
recorder.setAudioSource(MediaRecorder.AudioSource.VOICE_DOWNLINK);
Dave Webb