Merge pull request #420 from fy2462/fix_audio_sample_exit_when_mute
Fix audio sample exit when mute
This commit is contained in:
commit
e2eef09373
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue