C port to rtmidi C++ library, to make it usable with .NET P/Invoke.