Wav file will not open

I have generated a .wav file with my program; however, it will not open up properly in Windows Media Player. After searching online I realized I may have a codec issue, is there any solution to this?
Topic archived. No new replies allowed.