Michael Stefaniuc mstefani@redhat.de writes:
No, use my version instead ;) (it's attached). It proper handles HMIDI*16 <-> HMIDI* conversions.
It would be better to add HMIDIIN_16 etc. macros to do the 32->16 conversion, just like you did for the 16->32 one. This way if we need a more complex conversion one day it's easy to change; if you just use LOWORD everywhere we have no way of spotting places that need to be changed.