change linux audio playback from cpal to pulse, because stupid cpal 100% cpu usage problem

This commit is contained in:
rustdesk committed 2022-04-23 02:17:33 +08:00
1 parent aa7779bcf7
commit 5bf8e8f001
4 files changed
+293 -358

No files matched your search

-2
View File
@@ -429,8 +429,6 @@ async fn start_ipc(cm: ConnectionManager) {
async fn start_pa() {
use crate::audio_service::AUDIO_DATA_SIZE_U8;
use hbb_common::config::APP_NAME;
use libpulse_binding as pulse;
use libpulse_simple_binding as psimple;
match new_listener("_pa").await {
Ok(mut incoming) => {