Merge "MIDI docs: fix buffer allocation" into mnc-dev