• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to record an FM audio in android?

 
Prajkti Khadse
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
i need to record the songs being played by a FM app.
I checked the MediaRecorder.AudioSource but could not find what to use for setAudioSource

can anyone please help me?

thanks,
Prajkti
 
Pratik Goswami
Ranch Hand
Posts: 136
Android Chrome Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Prajkti,
Have a look at this link.


Thanks
Pratik Goswami
 
Prajkti Khadse
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you so much Pratik... it worked
 
Pratik Goswami
Ranch Hand
Posts: 136
Android Chrome Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome
Happy coding

Thanks
Pratik Goswami
 
Prajkti Khadse
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Pratik,
I thought it was working but actually, in spite of mentioning the Audio_source as "MediaRecorder.AudioSource.VOICE_DOWNLINK" , it records the MIC data
Have you ever tried this??

Thanks,
Prajkti
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic