PortAudio backend RT-safe MIDI buffer allocation