Most samples one assembly produces: 3 h at 48 kHz. The WAV is 2 bytes per sample (~1 GB at this cap;
on big-endian hosts a separate PCM array doubles that), so this is the memory ceiling of one
assembly; the captured count comes from the browser, so it must be bounded before anything is allocated.
Most samples one assembly produces: 3 h at 48 kHz. The WAV is 2 bytes per sample (~1 GB at this cap; on big-endian hosts a separate PCM array doubles that), so this is the memory ceiling of one assembly; the captured count comes from the browser, so it must be bounded before anything is allocated.