increase bufsize for play-sd-wav

Frank B

Senior Member
- this is not tested -

Hi,

i discovered, that the random--access-time (>1 ms) could be a bottleneck when multiple files are played back simultaneously.
So, i think, that with increased buffersize (the double - 1024 bytes ?) "play-sd-wav" should work much better.
I addition you may want to read-ahead the first 1024 bytes in play().

BUT: i did'nt check if "sd.h" is intelligent enough to use sequential-reading instead of addressing each block.
 
Last edited:
Back
Top