mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-26 15:22:03 +00:00
Fix switch audio input device failed in index page on Linux.
This commit is contained in:
1 parent
8460c1ac42
commit
aa5c7cc38e
4 files changed
+22
-1
No files matched your search
@@ -515,6 +515,10 @@ pub fn set_option(key: &str, value: &str) {
|
||||
set_options(options).ok();
|
||||
}
|
||||
|
||||
pub fn restart_autdio_input() {
|
||||
crate::audio_service::restart();
|
||||
}
|
||||
|
||||
#[tokio::main(flavor = "current_thread")]
|
||||
pub async fn set_options(value: HashMap<String, String>) -> ResultType<()> {
|
||||
let mut c = connect(1000, "").await?;
|
||||
|
||||
Reference in new issue
Block a user