Fix switch audio input device failed in index page on Linux.

This commit is contained in:
yanfeng
2022-02-28 11:45:02 +08:00
parent 8460c1ac42
commit aa5c7cc38e
4 changed files with 22 additions and 1 deletions

View File

@@ -364,6 +364,10 @@ impl UI {
}
}
fn refresh_audio_input(&self) {
ipc::restart_autdio_input();
}
fn install_path(&mut self) -> String {
#[cfg(windows)]
return crate::platform::windows::get_install_info().1;
@@ -701,6 +705,7 @@ impl sciter::EventHandler for UI {
fn create_shortcut(String);
fn discover();
fn get_lan_peers();
fn refresh_audio_input();
}
}