2002.02.20 ~11 Ogg Vorbis/Q3VM decoding successfully. I am HAPPY!!!! My Q3 mod, Project FI, successfully decoded a short vorbis file into 16-bit PCM. The test vorbis is a 12-second thunder sound effect from some Q3 map, I forget which. The resulting PCM is rather poorly decoded; I'm guessing this is because of my horrid log()/exp() implementation, perhaps in combination with Q3VM's 32-bit-only floating point. The Ogg Vorbis codebase is based on the source release of the reference library version 1.0rc3 from Xiphophorus (read: copied and hacked). In total, not much functional hacking to the vorbis source itself was required (had tons of printf()s for debugging, though), but I had to spend considerable time on supporting code, math functions especially. I assumed that the Vorbis code is correct, and that my own stuff needed fixing. By-products of this effort: * A saner and somewhat more robust, if more space-consuming, malloc() system. * Expansion of the math library. * Cleaning up of the expanded math library. Now to get all this stuff into CVS...