Reduce playrtp readahead to 0.5s
authorRichard Kettlewell <rjk@greenend.org.uk>
Sun, 8 Mar 2009 17:38:33 +0000 (17:38 +0000)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sun, 8 Mar 2009 17:38:33 +0000 (17:38 +0000)
clients/playrtp.c

index 03e4ad2..9647437 100644 (file)
@@ -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
  *