Is it possible to get microphones list?

Hello!

I’m making a sound recorder app and I want to know how can I switch microphones. (if the user has plugged external microphones such as the headphone’s mic)

Kind of how you can do it on Zoom:
exampe

Thanks to anyone who would like to help!

How can I do that?

But what I feel is, if the user using headphone then automatically sound recorder will capture the sound from headset mic only and won’t capture phone speaker even if it is opted.

1 Like

On android the mic source changes automatically as per the condition such as if the headphone is plugged then mic of headphone is used and during a call it uses default mic

1 Like