Fix audio sample exit when mute

This commit is contained in:
yanfeng 2022-03-01 10:28:53 +08:00
parent 8460c1ac42
commit ce46fe7d80

View File

@ -437,7 +437,8 @@ async fn start_pa() {
device = x;
}
if device == "Mute" {
break;
log::info!("Switch mute mode, skip sample audio.");
continue;
}
if !device.is_empty() {
device = crate::platform::linux::get_pa_source_name(&device);