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