mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-24 04:12:20 +08:00
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
@ -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…
Reference in New Issue
Block a user