frac32buffer wave input
None
static const uint32_t LENGTHPOW = (5);
static const uint32_t LENGTH = (1 << 5);
static const uint32_t LENGTHMASK = ((1 << 5) - 1);
int32_t *array;
uint32_t writepos;
writepos = 0;
static int32_t _array[attr_poly][LENGTH] __attribute__((section(".sdram")));
array = &_array[parent->polyIndex][0];
{
int i;
for (i = 0; i < LENGTH; i++)
array[i] = 0;
}
writepos = (writepos + 1) & LENGTHMASK;
array[writepos] = __SSAT(inlet_in >> 14, 16);