Unable to detect USB microphone most of the times
I am developing an application where I need to capture audio from USB microphone connected on the phone.
The USB microphone doesn’t show up in “AudioManager Input Devices” for setting it as a preferred device for input in AudioRecord. Rarely it shows as an input device and am able to capture the audio.
This issue is specific to Samsung phones and works well for most of the other phones I tried. Tested on Samsung A10, A20s, A30s, M10s, S10, S20.
I tired USB pendrive, it gets detected and also tried changing several USB microphones, still the result is same.
The USB microphone is getting power from the phones I tried as there is a power indicator led on the USB mic that turns ON after receiving the power.
Referred following links but couldn’t get my issue resolved