X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/2d2effe25f5635bec27e00f556fd8eec123cfc9a..e84fb5f0c934ff2b8054a582c2ce09bcb05cba40:/server/speaker.c?ds=inline 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,