From 50f592b67c9d7364ab0d7ac447c565db4ab83d2a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 1 Sep 2004 15:00:44 +0000 Subject: introduce sink input and source output limits git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@170 fefdeb5f-60dc-0310-8127-8f9354f1896f --- polyp/module-x11-bell.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'polyp/module-x11-bell.c') 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; } -- cgit