[freespace2] MS-ADPCM decoder patch

tigital at mac.com tigital at mac.com
Mon Dec 1 00:09:13 EST 2003


On Sunday, November 30, 2003, at 11:16  PM, Taylor Richards wrote:

> This has been a long time in the making but hopefully all of the weird
> little issues found have been solved.  Several changes made were 
> packing
> the WAVEFORMAT* structures like on WIN32 to get around several problems
> and changes to ds_parse_wave() to fix loading issues (and it works
> correctly on OSX now).  WORD and DWORD were changed to the correct 
> WIN32
> definitions as well.
>
> Unless somebody finds an issue I'll commit this Monday night (about 22
> hours from now).  Also, thanks to tigital and several people not on the
> list for helping to get this sucker working correctly.  And since the
> heart of the decoder was written by Ryan Gordon mad props have to be
> given to him as well.

hey taylor,

...I was going to mention this earlier, but the following kills cc1 for 
me:

typedef unsigned long DWORD;
typedef unsigned short WORD;

...shouldn't it be:

typedef DWORD unsigned long;
typedef WORD unsigned short;

l8r,
jamie




More information about the freespace2 mailing list