X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/146e86fbdea5a7a4c846e7b4a210ee179e1943d5..e84fb5f0c934ff2b8054a582c2ce09bcb05cba40:/server/speaker.c diff --git a/server/speaker.c b/server/speaker.c index 41a12e5..19f88b2 100644 --- a/server/speaker.c +++ b/server/speaker.c @@ -432,7 +432,7 @@ static void mainloop(void) { * instead, but the post-poll code will cope even if it's * device_closed. */ if(device_state == device_open) - backend->beforepoll(); + backend->beforepoll(&timeout); } /* If any other tracks don't have a full buffer, try to read sample data * from them. We do this last of all, so that if we run out of slots,