frac32 in
frac32 out
spinner delaylength
uint32_t delaywindex;
uint32_t delayrindex;
int16_t delayline[attr_delaylength];
int i;
for (i = 0; i < attr_delaylength; i++)
delayline[i] = 0;
delaywindex = 0;
delayrindex = 1;
int32_t rd = delayline[delayrindex++];
delayline[delaywindex++] = __SSAT(inlet_in >> 14, 16);
if (delayrindex == attr_delaylength)
delayrindex = 0;
if (delaywindex == attr_delaylength)
delaywindex = 0;
outlet_out = rd << 14;