Closed ericfont closed 2 years ago
(maybe if there are possibly other effects that will want an array of AUDIO_BLOCK_SAMPLES worth of zeroes for whatever reason, then maybe could save space by having those effects include a zeroblock.h
which allocates this zeroblock once, and then all those effects could just reference the same zeroblock)
I'm just trying to get the audio library to compile when AUDIO_BLOCK_SAMPLES == 4 or AUDIO_BLOCK_SAMPLES == 8, which would produce the compile error:
I haven't looked closely at this effect, but it seems if the effect just wants a zero block then this would suffice. However, if for what ever reason this effect isn't supposed to work for (AUDIO_BLOCK_SAMPLES < 16), then maybe could just disable this .cpp and .h file.