setPreferredAudioInputDevice
Sets the preferred audio input device for recording.
This allows routing audio input to a specific device, such as a USB microphone that may not be detected by AudioSwitch (e.g., Rode Wireless Go II).
Must be called on API 23+ (Android M). On older versions, this is a no-op.
Return
true if the preference was set successfully, false otherwise.
Parameters
deviceInfo
The AudioDeviceInfo to use for recording, or null to restore default routing.