From b19d3f5a1c17ca5ab496c9002ddcbf461544c4dc Mon Sep 17 00:00:00 2001 From: yanfeng Date: Mon, 28 Feb 2022 12:03:24 +0800 Subject: [PATCH] rename function. --- src/ipc.rs | 2 +- src/ui.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ipc.rs b/src/ipc.rs index 6f639a99a..7c87a2ed2 100644 --- a/src/ipc.rs +++ b/src/ipc.rs @@ -515,7 +515,7 @@ pub fn set_option(key: &str, value: &str) { set_options(options).ok(); } -pub fn restart_autdio_input() { +pub fn restart_autdio_service() { crate::audio_service::restart(); } diff --git a/src/ui.rs b/src/ui.rs index ba6cc0bf5..208280b6b 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -365,7 +365,7 @@ impl UI { } fn refresh_audio_input(&self) { - ipc::restart_autdio_input(); + ipc::restart_autdio_service(); } fn install_path(&mut self) -> String {