chiark / gitweb /
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 03e4ad2e297de1a3c10601f3c8c3c6418953a234..96474376520193efdb6418dddd33e3d26d537ca8 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. */
 /** @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
  *
 
 /** @brief Maximum buffer size
  *