Re: [pulseaudio-discuss] High CPU Usage in System Mode

2020-07-01 Thread jtharkey
In the source I found this in daemon/main.c: if (conf->system_instance && !conf->disable_shm) { pa_log_notice(_("Running in system mode, forcibly disabling SHM mode.")); conf->disable_shm = true; } I commented that out and built it, things seemed to work and work faster. Will commenting that

[pulseaudio-discuss] [PATCH] alsa-ucm: disallow null mdev argument into pa_alsa_open_mixer_by_name()

2020-07-01 Thread Eero Nurkkala
It's possible for mdev to be NULL. In this case, an assert is taken in pa_alsa_open_mixer_by_name() with debug builds, and a crash with release builds. However, it's possible to bypass this trouble by taking the error path if mdev is NULL. Reported-by: Jarkko Sankala Signed-off-by: Eero Nurkkala