Used structs and arrays in C to cut and loop a wav file