rawmidi: do not abort when seeing the hint node

Add the hint node to the nodes that are allowed in rawmidi definitions,
and factor out the detection of such nodes into a common function.
This commit is contained in:
Clemens Ladisch 2006-10-27 10:54:08 +02:00
parent ddf9599542
commit 252fd43461
4 changed files with 20 additions and 6 deletions

View file

@ -57,3 +57,5 @@ int snd_rawmidi_hw_open(snd_rawmidi_t **input, snd_rawmidi_t **output,
int snd_rawmidi_virtual_open(snd_rawmidi_t **inputp, snd_rawmidi_t **outputp,
const char *name, snd_seq_t *seq_handle, int port,
int merge, int mode);
int snd_rawmidi_conf_generic_id(const char *id);