C Programming
by Al Stevens

Example 1:
for (int i = 0; i < numSamples; i+= 2)  {
  short int s = *(buffer+i);
  *(buffer+i) -= *(buffer+i+1);
  *(buffer+i+1) -= s;
}

Example 2:
for (int i = 0; i < numSamples; i+= 2)
  if (removingleft)
    *(buffer+i) = *(buffer+i+1)
  else
    *(buffer+i+1) = *(buffer+i)


1

