switchMicrophone method
Switch microphone (rotate through available inputs)
Implementation
Future<void> switchMicrophone() async {
final devices = await _adapter.enumerateDevices();
final inputs = devices.where((d) => d.kind == 'audioinput').toList();
if (inputs.length < 2) return;
print('Switching microphone... Available: ${inputs.length}');
}