fix audio exit bug

This commit is contained in:
rustdesk 2022-03-01 10:38:31 +08:00
parent e2eef09373
commit cd7b7cc555
2 changed files with 269 additions and 201 deletions

468
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -447,7 +447,7 @@ async fn start_pa() {
device = crate::platform::linux::get_pa_monitor();
}
if device.is_empty() {
break;
continue;
}
let spec = pulse::sample::Spec {
format: pulse::sample::Format::F32le,