#include "iolib.h"

void main(void)
{
  float buf[2];
  float out;

  init_21k();
  init_1847(SAMPLE44100, 0);

  for(;;) {
    read_inputs(buf);
    out = buf[0] - buf[1];
    buf[0] = buf[1] = out;
    write_outputs(buf);
  }
}