X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/f5a03f58e65b08478c3eca469a88a763e2e187b9..d8b957853160200fe6b00d8c0e8c61a3f62ecd7c:/server/speaker.h diff --git a/server/speaker.h b/server/speaker.h index 8d6dcaa..2288042 100644 --- a/server/speaker.h +++ b/server/speaker.h @@ -1,6 +1,6 @@ /* * This file is part of DisOrder - * Copyright (C) 2005, 2006, 2007 Richard Kettlewell + * Copyright (C) 2005-2008 Richard Kettlewell * * 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 @@ -55,9 +55,6 @@ */ #define NETWORK_BYTES (1500-8/*UDP*/-40/*IP*/-8/*conservatism*/) -/** @brief Maximum RTP playahead (ms) */ -#define RTP_AHEAD_MS 100 - /** @brief Maximum number of FDs to poll for */ #define NFDS 256 @@ -185,6 +182,8 @@ struct speaker_backend { * * @p timeoutp points to the poll timeout value in milliseconds. It may be * reduced, but never increased. + * + * NB you can NOT assume that @c beforepoll is always called before @c play. */ void (*beforepoll)(int *timeoutp);