From: Richard Kettlewell Date: Sun, 8 Mar 2009 17:38:33 +0000 (+0000) Subject: Reduce playrtp readahead to 0.5s X-Git-Tag: 5.0.3~4^2~178^2~4^2 X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/commitdiff_plain/c35b92797182124e4a9f4e5f0088230ec57883e7 Reduce playrtp readahead to 0.5s --- diff --git a/clients/playrtp.c b/clients/playrtp.c index 03e4ad2..9647437 100644 --- a/clients/playrtp.c +++ b/clients/playrtp.c @@ -104,7 +104,7 @@ unsigned minbuffer = 2 * 44100 / 10; /* 0.2 seconds */ /** @brief Buffer high watermark * * We'll only start playing when this many samples are available. */ -static unsigned readahead = 2 * 2 * 44100; +static unsigned readahead = 44100; /* 0.5 seconds */ /** @brief Maximum buffer size *