//main loop, read some samples into buffer and then output some samples every so oftenn=0;while(1){//Read in 32 pairs of samplesfor(n=0;n<32;n++){//decimation?fread(&inbuf,sizeof(float),2,stdin);buf[bufptr]=inbuf[0];bufptr++;if(bufptr>bufsize-1){bufptr=0;}buf[bufptr]=inbuf[1];bufptr++;if(bufptr>bufsize-1){bufptr=0;}}