fyi, got this mail from r. bernstein (creator of the cd input and control library, which xbmc uses to read cdda, iso9660 & iso/img/nrg images):
Quote:from: [email="[email protected]"][email protected][/email] on behalf of r. bernsteinwould it be a good idea to implement the latest libcdio changes and bug-fixes into xbmc (after xbmc 1.0 final been released that is)?, any takers?
sent: 19 june 2004 20:33
to: [email="[email protected]"][email protected][/email]
subject: [xbmc-developers] xmbc and libcdio in better sync
i just came across xmbc. seems very cool and interesting and i am delighted that an xbox driver and x-box cd-detection were added.
the libcdio sources used though seem a bit old and unmaintained. version 0.62 is over 6 months old. 0.68 is the current version and 0.69 i hope will be released soon.
i've gone over changes to libcdio and patched current libcdio sources where there was an outright lint-like bug or where the patching could be done in a clean way. an example of the latter:
#ifndef _xbox
#include <unistd.h>
#endif
becomes
#ifndef have_unistd_h
#include <unistd.h>
#endif
(have_unistd_h is defined in config.h)
i've also taken the x-box filesystem detection xiso and added that to current libcdio cvs's cd-info. some of the other changes such as changing strdup() to _strdup() or adding s_isblk() and s_ischr() macro definitions would probably be better put in a common header (e.g. xbox.h) rather than changing the multiple lines of code in the multiple files as currently happens in xmbc.
by making the two pieces of code more similar i think both projects could benefit.