
		eMusic analyzer plugin API 0.1

   All analyzer plugins must export the following four functions, look in the
   analysis subdirectory for working examples...

-------------------------------------------------------------------------------
PROTOTYPE:
void version_info(char *id, char *version, char *copyright);

IMPLEMENTATION:
   The analyzer plugin needs to strcpy() a short id string, version number,
   and copyright notice (sans (C)) to the provided strings.

-------------------------------------------------------------------------------
PROTOTYPE:
void close_analysis(void);

IMPLEMENTATION:
   Clean up routine..  The analyzer plugin should deallocate, clean up, etc..

-------------------------------------------------------------------------------
PROTOTYPE:
int init_analysis(Window win, int w, int h);

IMPLEMENTATION:
   The window, width, and height of the provided drawing area are given.  The
   plugin doesn't NEED to respect these, so it can create it's own window,
   draw in it, etc..  Any start-up tasks need to be called from here.  The
   plugin should return the desired size of audio data it wants to perform its
   magic on..

-------------------------------------------------------------------------------
PROTOTYPE:
void do_analysis(char *buffer, int size);

IMPLEMENTATION:
   The raw PCM audio data is in 'buffer', how much is in 'size'.  Assume it is
   44100Hz, 16 bit, unsigned stereo data.  If 'size' isn't adequate/optimal
   for use, see analysis/oscil/oscil.c for an example that copies the data
   into the right size buffer...

-------------------------------------------------------------------------------


