#include #include #include #include #define SIZE 8192 unsigned char data[SIZE]; int main(int argc, char **argv) { int fd,result,i; char filename[256]; fd=open("thump_mono.raw",O_RDONLY); if (fd<1) { printf("Error opening\n"); exit(-1); } result=read(fd,data,SIZE); if (result<0) { printf("Error reading\n"); exit(-1); } close(fd); int count=0,size; size=result; for(i=0;i*64