frac32buffer.bipolar Left channel
frac32buffer.bipolar Right channel
None
frac32.u.map.squaregain volume
frac32.vu vuLeft
frac32.vu vuRight
int j, l, r;
for (j = 0; j < BUFSIZE; ++j) {
l = ___SMMUL(param_volume, inlet_left[j]) << 2;
r = ___SMMUL(param_volume, inlet_right[j]) << 2;
AudioOutputLeft[j] += __SSAT(l, 28);
AudioOutputRight[j] += __SSAT(r, 28);
}
disp_vuLeft = l;
disp_vuRight = r;