ref: d2c1fe681c0111b368673b316ac8de7586e4d70e
parent: b3977a7f05a18a701a3c17843fa1901ec2637c31
author: robs <robs>
date: Thu Nov 23 17:31:45 EST 2006
Fixed decision as to when to write WAVE_FORMAT_EXTENSIBLE header.
--- a/src/wav.c
+++ b/src/wav.c
@@ -1564,7 +1564,7 @@
dwDataLength = (dwDataLength+1) & ~1; /*round up to even */
#endif
- if (wFormatTag == WAVE_FORMAT_PCM && wBitsPerSample > ST_SIZE_16BIT)
+ if (wFormatTag == WAVE_FORMAT_PCM && wBitsPerSample > 16)
{
isExtensible = true;
wFmtSize += 2 + 22;