VM.sysWrite("VM_EdgeListener.setBuffer("+buffer.length+"): enter\n");
VM.sysWrite("VM_EdgeListener.setBuffer(",buffer.length,"): enter\n");
  public void setBuffer(int[] buffer) {    // ensure buffer is proper length    if (VM.VerifyAssertions) {      VM._assert(buffer.length%3 == 0);    }    if (DEBUG) {      VM.sysWrite("VM_EdgeListener.setBuffer("+buffer.length+"): enter\n");         }    this.buffer    = buffer;    desiredSamples = buffer.length / 3;    resetBuffer();  }