X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/6d2d327ca57fefaddceba10eb323451f8150e95d..91370169de7f552f3a54e5ef9e079a202a5efbfa:/server/speaker-command.c diff --git a/server/speaker-command.c b/server/speaker-command.c index 088d0cd..27b2664 100644 --- a/server/speaker-command.c +++ b/server/speaker-command.c @@ -1,6 +1,7 @@ /* * This file is part of DisOrder * Copyright (C) 2005, 2006, 2007 Richard Kettlewell + * Portions (C) 2007 Mark Wooding * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -96,7 +97,7 @@ static size_t command_play(size_t frames) { } /** @brief Update poll array for writing to subprocess */ -static void command_beforepoll(void) { +static void command_beforepoll(int attribute((unused)) *timeoutp) { /* We send sample data to the subprocess as fast as it can accept it. * This isn't ideal as pause latency can be very high as a result. */ if(cmdfd >= 0)