mirror of https://github.com/ericonr/sndio.git
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");
|
||||
}
|
||||
#endif
|
||||
if (d->decbuf)
|
||||
if ((d->mode & MODE_REC) && d->decbuf)
|
||||
dec_do(&d->dec, d->decbuf, (unsigned char *)d->rbuf, d->round);
|
||||
ps = &d->slot_list;
|
||||
while ((s = *ps) != NULL) {
|
||||
|
|
Loading…
Reference in New Issue