Handmade Hero » Forums » Code » Bug in WAVE_fmt (Day 137)
marcc
Marc Costa
25 posts
#3989 Bug in WAVE_fmt (Day 137)
2 years, 10 months ago

Hi Casey,

I believe there's a mistake in the WAVE_fmt struct: nBlockAlign has a size of 16 bits, but you set it to 32 bits. Here.

-- Marc