initial port of c++ xmidi (XMI) support to c, WIP
replacing read/write methods with functions
compiles cleanly with xmidi.h
more cleanup, xmidi.c compiles with many warnings
it compiles, but seg faults
we compile again, and it almost works... almost
it compiles, ship it
cleanups
removed dead code and bug fixes
Merge branch 'xmi' into xmi-szo
reset xin->buf_ptr: fixes invalid reads reported by valgrind
no need malloc'ing xin and xout. make sure to free xmidi data when finished.
kill the dead 'is_xmi' stuff.
export only retrieve() from xmidi.c and change all others to static.
next step should be moving all the static variables at top-level of
xmi.c into per conversion request variables, e.g.: moving them into
struct DataSource maybe??
while I was there, changed all // comments into /*..*/ comments.
really free xmid_data upon both failure _and_ success.
broke it during redesign, still wip
malloc source and dest
is working again, cleaned up more code
set DataSources to having just file scope instead of global
cleanups