Set duration for wav files from sample size and data size or the wf64 sample value.