GIG Player Plugin

For a while I've wished to use the Maestro Concert Grand on linuxsampler.org in LMMS (#786). This piano is in the GIG file format, so I created a GIG player plugin (heavily based on the SF2 player plugin). The graphics aren't all that great and it doesn't support all of features of the format (there are quite a few; this plugin supports the features I could test), but it's a start. This plugin depends on libgig to get the data from the GIG file. Also, I haven't tested this on anything but Linux.

Previously the speed issues I was having were because I was loading the entire sample into memory at the beginning of each note. Now it loads the portions of the note as it renders each set of frames, which allows you to play many notes without glitching even at low latency (in my experience, at least).

Thoughts?
ok see here, you have src_ratio as newSize / oldSize... I'm assuming at this point you have already added the margin to oldSize? 

input_frames should be oldSize (including margin)
output_frames should be newSize (no margin)
src_ratio should be newSize / ( oldSize without margin )

Otherwise, the margin will mess up the ratio calculation. 
If you don't have a margin, that will cause artifacts at every period boundary, because src interpolation needs some lookahead to process...