thomasthep
13th September 2007 12:05 UTC
AVS: What's with AVS's Source Code?
AVS has gone Open Source at SourceForge.net, but what's with its source code?
I couldn't find the source code nor any files.
It seems as if someone left AVSs source code out to rot in the public while WinAMP has the latest source codes (not available to the public) and DLLs (bundled with the latest WinAMP downloads).
Does anyone know what is happening (or what happened) to the source code and where it's available for download?
QOAL
13th September 2007 12:44 UTC
You can get the source code from here and you'll also want the last update from here.
As for what happened when it went open source you can have a look at this thread.
Any more than that, I don't know.
Yathosho
13th September 2007 15:44 UTC
try the first hit on google.. http://www.nullsoft.com/free/avs/
thomasthep
14th September 2007 09:06 UTC
Thanks
Thanks for the help QOAL and Yathosho.
Just wondering if that was all to the changes at http://nunzioweb.com/daz/temp/avs/
Seems kind of odd that there are only 5 files included to update it.
My friends all said that it does not change it into a v2.81d.
Any suggestions?
btw. Thanks anyway.
colbsure
26th September 2007 15:43 UTC
Your friends all said? Did they actually look? If they did - do they code? If they code - is it C++?
I'm pretty interested in building my own version and delving into the code (it keeps crashing on one of my boxes and I wanted a debug version) so I've just taken a quick look at the changes:
"main.cpp" has a version number change, "2.81b" to "2.81d". There a chance, then, that 2.81c may have additional changes.
"render.cpp" looks to contain the main change, which is a change in the way the ini-file path is generated (using a registered message versus a system call). Nothing too exciting.
"res.rc" changes the copyright message.
"wnd.cpp/wnd.h" add a new accessor for getting the winamp window handle (used in "render.cpp" to send the message).
I've not had a look around for the 2.81c source. If anybody has it - let me know please!
colbsure
26th September 2007 17:14 UTC
It feels a bit mad answering my own post - anyway here goes...
I couldn't locate the 2.81b source so I built up the 2.81c refresh with Visual Studio 2005. I have gotten rid of all the compiler warnings except for the MMX EMMS warnings (I want to look into these in more detail).
After some teething problems (it kept crashing until I realised I was trying to test it against WinAMP 2.95) it seems to be working fine and, my brief testing confirms that it certainly seems to look and act like the 2.81c version.
If I get some time I'm going to try both profiling for bottlenecks and building it with the latest Intel Compiler (perks of the job) to see if ICC can work its optimizing magic.