mirror of
https://github.com/ericonr/sndio.git
synced 2024-02-18 04:45:21 -06:00
tweak comment
This commit is contained in:
parent
c875716078
commit
e43d03b3df
11
sndiod/dev.c
11
sndiod/dev.c
@ -971,12 +971,13 @@ dev_new(char *path, struct aparams *par,
|
|||||||
}
|
}
|
||||||
d = xmalloc(sizeof(struct dev));
|
d = xmalloc(sizeof(struct dev));
|
||||||
d->num = dev_sndnum++;
|
d->num = dev_sndnum++;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* XXX
|
* XXX: below, we allocate a midi input buffer, since we don't
|
||||||
* we don't use the input buffer, since we don't receive
|
* receive raw midi data, so no need to allocate a input
|
||||||
* raw midi data, so no need to allocate a input ibuf.
|
* ibuf. Possibly set imsg & fill callbacks to NULL and
|
||||||
* Possibly set imsg & fill callbacks to NULL and use this
|
* use this to in midi_new() to check if buffers need to be
|
||||||
* to in midi_new() to check if buffers need to be allocated
|
* allocated
|
||||||
*/
|
*/
|
||||||
d->midi = midi_new(&dev_midiops, d, MODE_MIDIIN | MODE_MIDIOUT);
|
d->midi = midi_new(&dev_midiops, d, MODE_MIDIIN | MODE_MIDIOUT);
|
||||||
midi_tag(d->midi, d->num);
|
midi_tag(d->midi, d->num);
|
||||||
|
Loading…
Reference in New Issue
Block a user