mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
parent
750b4cdf7a
commit
4574678424
2 changed files with 10 additions and 9 deletions
|
|
@ -159,14 +159,15 @@ context.modules = [
|
||||||
{ name = libpipewire-module-session-manager }
|
{ name = libpipewire-module-session-manager }
|
||||||
|
|
||||||
# Use libcanberra to play X11 Bell
|
# Use libcanberra to play X11 Bell
|
||||||
#{ name = libpipewire-module-x11-bell
|
{ name = libpipewire-module-x11-bell
|
||||||
# args = {
|
args = {
|
||||||
# #sink.name = "@DEFAULT_SINK@"
|
#sink.name = "@DEFAULT_SINK@"
|
||||||
# #sample.name = "bell-window-system"
|
#sample.name = "bell-window-system"
|
||||||
# #x11.display = null
|
#x11.display = null
|
||||||
# #x11.xauthority = null
|
#x11.xauthority = null
|
||||||
# }
|
}
|
||||||
#}
|
flags = [ ifexists nofail ]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
context.objects = [
|
context.objects = [
|
||||||
|
|
|
||||||
|
|
@ -109,7 +109,7 @@ static int play_sample(struct impl *impl)
|
||||||
if (sample == NULL)
|
if (sample == NULL)
|
||||||
sample = "bell-window-system";
|
sample = "bell-window-system";
|
||||||
|
|
||||||
pw_log_debug("play sample %s", sample);
|
pw_log_info("play sample %s", sample);
|
||||||
|
|
||||||
if ((res = ca_context_create(&ca)) < 0) {
|
if ((res = ca_context_create(&ca)) < 0) {
|
||||||
pw_log_error("canberra context create error: %s", ca_strerror(res));
|
pw_log_error("canberra context create error: %s", ca_strerror(res));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue