PCMIDI_SUSTAIN_MAX
PCMIDI_SUSTAIN_MIN, PCMIDI_SUSTAIN_MAX);
if (sscanf(buf, "%u", &sustain) > 0 && sustain <= PCMIDI_SUSTAIN_MAX) {