some slightly hackish changes to make it possible to use the new internal ALSA midi client (soon to become a driver, however)