summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-07-31 14:27:40 +0000
committerjoe <joe@FreeBSD.org>2002-07-31 14:27:40 +0000
commit7320c84bded7927b7c95a1ee65b5ec56efa7008d (patch)
treee5210124adad0f4b738866e576c6a9acbfde51c0 /sys/dev/sound
parentc2867168dfa6ababdcdcadd5d2ce0c4a235a12fd (diff)
downloadFreeBSD-src-7320c84bded7927b7c95a1ee65b5ec56efa7008d.zip
FreeBSD-src-7320c84bded7927b7c95a1ee65b5ec56efa7008d.tar.gz
Make this compile with the debugging options switched on.
Diffstat (limited to 'sys/dev/sound')
-rw-r--r--sys/dev/sound/usb/uaudio.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/sound/usb/uaudio.c b/sys/dev/sound/usb/uaudio.c
index c96355b..f82dbe5 100644
--- a/sys/dev/sound/usb/uaudio.c
+++ b/sys/dev/sound/usb/uaudio.c
@@ -697,10 +697,17 @@ uaudio_mixer_add_ctl(struct uaudio_softc *sc, struct mixerctl *mc)
DPRINTF(("uaudio_mixer_add_ctl: wValue=%04x",mc->wValue[0]));
for (i = 1; i < mc->nchan; i++)
DPRINTF((",%04x", mc->wValue[i]));
+#if defined(__FreeBSD__)
DPRINTF((" wIndex=%04x type=%d name='%s' unit='%s' "
"min=%d max=%d\n",
+ mc->wIndex, mc->type, mc->ctl,
+ mc->minval, mc->maxval));
+#else
+ DPRINTF((" wIndex=%04x type=%d ctl='%d' "
+ "min=%d max=%d\n",
mc->wIndex, mc->type, mc->ctlname, mc->ctlunit,
mc->minval, mc->maxval));
+#endif
}
#endif
}
OpenPOWER on IntegriCloud