diff options
-rw-r--r-- | sys/dev/sound/usb/uaudio.c | 7 |
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 } |