 void getBuffer1();
 void playData();
 void displayData();
-void NLMS_AEC(int16_t *x);
+void NLMS_AEC(int16_t *Mic, int16_t *x);
 
 // GUItool: begin automatically generated code
 AudioInputI2S            Mic;           //microphone

// NMLS algorithm
// inputs are Mic Signal, far end signal and index of n-1 block wher n is the current block itteration
// previous block data is used to modify current block data samples
void NLMS_AEC(int16_t *x)
{
  int16_t yhat = 0;
  int64_t xtdl = 0;

    } while (ww < wend);
    yhat = yhat64 / 32768;

    error[h] = Mic[gg+h]-yhat;
    xtdl = xtdl + psi;
    mu0 = (67108864*mu)/xtdl;

