tweak comment

This commit is contained in:
Alexandre Ratchov 2012-11-11 10:49:03 +01:00
parent c875716078
commit e43d03b3df
1 changed files with 6 additions and 5 deletions

View File

@ -971,12 +971,13 @@ dev_new(char *path, struct aparams *par,
}
d = xmalloc(sizeof(struct dev));
d->num = dev_sndnum++;
/*
* XXX
* we don't use the input buffer, since we don't receive
* raw midi data, so no need to allocate a input ibuf.
* Possibly set imsg & fill callbacks to NULL and use this
* to in midi_new() to check if buffers need to be allocated
* XXX: below, we allocate a midi input buffer, since we don't
* receive raw midi data, so no need to allocate a input
* ibuf. Possibly set imsg & fill callbacks to NULL and
* use this to in midi_new() to check if buffers need to be
* allocated
*/
d->midi = midi_new(&dev_midiops, d, MODE_MIDIIN | MODE_MIDIOUT);
midi_tag(d->midi, d->num);