chiark / gitweb /
Reduce playrtp readahead to 0.5s
[disorder] / 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. */
-static unsigned readahead = 2 * 2 * 44100;
+static unsigned readahead = 44100;      /* 0.5 seconds */
 
 /** @brief Maximum buffer size
  *