Explorar el Código

Add warning in source code.

Konstantin Seiler hace 5 años
padre
commit
395d29ad47
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      audio/src/fetch.rs

+ 1 - 1
audio/src/fetch.rs

@@ -18,7 +18,7 @@ use futures::sync::mpsc::unbounded;
 use std::sync::atomic;
 use std::sync::atomic::AtomicUsize;
 
-const MINIMUM_CHUNK_SIZE: usize = 1024 * 16;
+const MINIMUM_CHUNK_SIZE: usize = 1024 * 16; // This number MUST be divisible by 4.
 const MAXIMUM_CHUNK_SIZE: usize = 1024 * 128;
 const MAXIMUM_ASSUMED_PING_TIME_SECONDS: u64 = 5;