FFT: wav sound to frequency

Purpose of this program t.c is to read a WSPR wav file in realtime and
to write samples of 2 seconds (24000 samples) into a file.