summaryrefslogtreecommitdiffstats
path: root/polyp/module-x11-bell.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/module-x11-bell.c')
-rw-r--r--polyp/module-x11-bell.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/polyp/module-x11-bell.c b/polyp/module-x11-bell.c
index 3ed9b068..ae889b22 100644
--- a/polyp/module-x11-bell.c
+++ b/polyp/module-x11-bell.c
@@ -69,11 +69,7 @@ static int ring_bell(struct userdata *u, int percent) {
return -1;
}
- if (pa_scache_play_item(u->core, u->scache_item, s, percent*2) < 0) {
- fprintf(stderr, __FILE__": Failed to play sample\n");
- return -1;
- }
-
+ pa_scache_play_item(u->core, u->scache_item, s, percent*2);
return 0;
}