mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-19 22:23:19 +03:00
refact: seperate audio device for voice call (#8703)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -500,7 +500,7 @@ class _GeneralState extends State<_General> {
|
||||
return const Offstage();
|
||||
}
|
||||
|
||||
return AudioInput(builder: (devices, currentDevice, setDevice) {
|
||||
builder(devices, currentDevice, setDevice) {
|
||||
return _Card(title: 'Audio Input Device', children: [
|
||||
...devices.map((device) => _Radio<String>(context,
|
||||
value: device,
|
||||
@@ -511,7 +511,9 @@ class _GeneralState extends State<_General> {
|
||||
setState(() {});
|
||||
}))
|
||||
]);
|
||||
});
|
||||
}
|
||||
|
||||
return AudioInput(builder: builder, isCm: false, isVoiceCall: false);
|
||||
}
|
||||
|
||||
Widget record(BuildContext context) {
|
||||
|
||||
Reference in New Issue
Block a user