Hi, its sumthing like FM recording
MediaRecorder recorder = *new* MediaRecorder(); recorder.setAudioSource(MediaRecorder.AudioSource.*DEFAULT*); recorder.setOutputFormat(MediaRecorder.OutputFormat.*THREE_GPP*); recorder.setAudioEncoder(MediaRecorder.AudioEncoder.*AMR_NB*); recorder.setOutputFile(*PATH_NAME*); recorder.prepare(); recorder.start(); in this code,chk this line recorder.setAudioSource(MediaRecorder.AudioSource.*DEFAULT*); AudioSource have different methods like mic, voicecall,etc once try these method. i hav not device now . try once , i hope it will work 4 u :) On Wed, May 18, 2011 at 5:11 PM, neha jain <[email protected]> wrote: > thanx 4 rply. > My requirement is that when i start recording it should playback > simultaneously.And its working correctly. > but the problem is that the playbacked voice is also goes to mic and it's > also recording. > So i want that playbacked voice should not go to mic. > > On Wed, May 18, 2011 at 12:28 PM, gaurav gupta > <[email protected]>wrote: > >> Hi, >> it looks sumthing strange. if ur speak is working then sure ur mic will >> record its sound. >> its the basic work on mic.it will listen all sounds around u.. >> or m not getting requirement correctly?? >> please specify den anyone can help u. >> >> On Wed, May 18, 2011 at 4:26 PM, neha <[email protected]> wrote: >> >>> hiiiiiii >>> I am recording some audio and at the same time playing another. >>> but the problem is that ,recorder taking input from both mic and >>> speeker. >>> I want that recorder only record audio coming from mic not from >>> speeker. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Android Developers" group. >>> To post to this group, send email to [email protected] >>> To unsubscribe from this group, send email to >>> [email protected] >>> For more options, visit this group at >>> http://groups.google.com/group/android-developers?hl=en >> >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

