mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
module-x11-bell: force pulse backend
The libcanberra ALSA backend has some races and causes crashes, we should try to not use that one. Fixes #3688
This commit is contained in:
parent
22db59d8a3
commit
8ecc61e117
1 changed files with 5 additions and 0 deletions
|
|
@ -104,6 +104,11 @@ static int play_sample(struct impl *impl)
|
|||
res = -EIO;
|
||||
goto exit;
|
||||
}
|
||||
if ((res = ca_context_set_driver(ca, "pulse")) < 0) {
|
||||
pw_log_error("canberra context set backend error: %s", ca_strerror(res));
|
||||
res = -EIO;
|
||||
goto exit_destroy;
|
||||
}
|
||||
if ((res = ca_context_open(ca)) < 0) {
|
||||
pw_log_error("canberra context open error: %s", ca_strerror(res));
|
||||
res = -EIO;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue