updateCurrentDevice method
Implementation
Future<void> updateCurrentDevice(String device) async {
try {
await AmazonChime.instance.updateAudioDevice(device);
logger.i('Audio device updated to: $device');
_audio.selectedDevice = device;
notifyListeners();
} catch (e) {
logger.e('Failed to update audio device to $device: $e');
rethrow;
}
}