summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosef Karthauser <joe@FreeBSD.org>2002-07-31 14:27:40 +0000
committerJosef Karthauser <joe@FreeBSD.org>2002-07-31 14:27:40 +0000
commit6ada40b0096875267625ec96a56a591ff1f041de (patch)
treee5210124adad0f4b738866e576c6a9acbfde51c0
parent163ddd953bb2270b70fceeb3357a64752f91151a (diff)
Notes
-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 c96355b638e4..f82dbe51db40 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
}