How to record an FM audio in android?

后端 未结 2 1168
孤街浪徒
孤街浪徒 2021-01-01 04:55

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

2条回答
  •  北荒
    北荒 (楼主)
    2021-01-01 05:41

    There is no FM radio support in the Android SDK. Various device manufacturers may have hacked in their own FM radio support, but you would have to contact those manufacturers to learn what APIs, if any, they have for them.

提交回复
热议问题