ALSA Library Reference Manual
NANE
int
snd_defaults_rawmidi_device
(void);
DESCRIPTION
デフォルトのMIDIデバイスの番号(int dev)を返す。 負の数ならばエラー・コードである。