0

I want to give the user option to select which microphone he wants to use if there is more than one available.

How can i solve this?

Thanks.

Marcin Orlowski
  • 72,056
  • 11
  • 123
  • 141
I.Mac
  • 289
  • 3
  • 17

1 Answers1

1

Sound is routed to available microphone automatically

more info here

So i guess your best option is to use an intentChooser/dialog and let the user choose whether to use:

  • Device's mic
  • Wired headset mic
  • Bluetooth headset mic

Then to check which source is connected and override system's auto routing.

  1. Check if wired headset is connected
  2. Check and handle BT headset
  3. Override sound to the desired source

I didn't try any of this and i'm making some assumptions here!

I hope this will point you out to the right direction.

Community
  • 1
  • 1
sup4eli
  • 324
  • 3
  • 16