]> code.delx.au - pulseaudio/blobdiff - polyp/module-x11-bell.c
introduce sink input and source output limits
[pulseaudio] / polyp / module-x11-bell.c
index 3ed9b0682479853c24edbd4eea88d96e039517a7..ae889b22139f2526b56187cfc3c52ae7fa6f4872 100644 (file)
@@ -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;
 }