mirror of
https://github.com/ericonr/sndio.git
synced 2024-02-18 04:45:21 -06:00
hide "device disappeared" messages unless -d is used
This commit is contained in:
parent
d5ee44fc8b
commit
de7dc61de4
@ -836,7 +836,7 @@ dev_run(struct dev *d)
|
|||||||
((d->mode & MODE_REC) && !APROC_OK(d->sub)) ||
|
((d->mode & MODE_REC) && !APROC_OK(d->sub)) ||
|
||||||
((d->mode & MODE_MON) && !APROC_OK(d->submon))) {
|
((d->mode & MODE_MON) && !APROC_OK(d->submon))) {
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
if (debug_level >= 1) {
|
if (debug_level >= 2) {
|
||||||
dev_dbg(d);
|
dev_dbg(d);
|
||||||
dbg_puts(": device disappeared\n");
|
dbg_puts(": device disappeared\n");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user