mirror of
https://github.com/ericonr/sndio.git
synced 2024-02-18 04:45:21 -06:00
dont try to decode device input in monitoring cycles
This commit is contained in:
parent
f29564da69
commit
bca3235a53
@ -817,7 +817,7 @@ dev_sub_cycle(struct dev *d)
|
|||||||
log_puts(": dev_sub_cycle\n");
|
log_puts(": dev_sub_cycle\n");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if (d->decbuf)
|
if ((d->mode & MODE_REC) && d->decbuf)
|
||||||
dec_do(&d->dec, d->decbuf, (unsigned char *)d->rbuf, d->round);
|
dec_do(&d->dec, d->decbuf, (unsigned char *)d->rbuf, d->round);
|
||||||
ps = &d->slot_list;
|
ps = &d->slot_list;
|
||||||
while ((s = *ps) != NULL) {
|
while ((s = *ps) != NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user