setAudioDevice method
- DeviceDetails device
Sets the provided device
as a currently used audioDevice.
Does nothing if device
is already the audioDevice.
Implementation
Future<void> setAudioDevice(DeviceDetails device) {
Log.debug('setAudioDevice($device)', '$runtimeType');
_preferredAudioDevice = device.id();
return _setAudioDevice(device);
}