As data is read from the client it is placed into an internal buffer for fast access. This controls the size of that buffer. Larger values means more speed,
but also more memory. In my testing there is diminishing returns after about 4KB, but you can fiddle with this to suit your own needs. Must be a multiple of 8.
assert(DRWAV_FALSE);/* If this assertion is triggered it means I've implemented a new compressed format but forgot to add a branch for it here. */
DRWAV_ASSERT(DRWAV_FALSE);/* If this assertion is triggered it means I've implemented a new compressed format but forgot to add a branch for it here. */
}
if(framesRead!=framesToRead){
...
...
@@ -5753,6 +5784,16 @@ two different ways to initialize a drwav object.