Fix compile on android

This commit is contained in:
Asura
2022-09-14 02:37:52 -07:00
parent 4d2feb6030
commit e6b1b007a6
5 changed files with 44 additions and 23 deletions

View File

@@ -223,6 +223,7 @@ pub fn test_if_valid_server(host: String) -> String {
}
#[inline]
#[cfg(not(any(target_os = "android", target_os = "ios")))]
pub fn get_sound_inputs() -> Vec<String> {
let mut a = Vec::new();
#[cfg(not(target_os = "linux"))]