aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2012-11-01 20:58:55 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2012-11-01 20:58:55 +0000
commitd3e08ca9f0754a1187e331f48b9a9204211a3130 (patch)
tree5bc1015fb1c262614d3d96aa097be4c3a14810dd /sys
parent58e8ac5c34ea16487446d149daf24d3c4f071784 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/sound/usb/uaudio.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/sys/dev/sound/usb/uaudio.c b/sys/dev/sound/usb/uaudio.c
index 5bcb54c4622a..1177042f5ddc 100644
--- a/sys/dev/sound/usb/uaudio.c
+++ b/sys/dev/sound/usb/uaudio.c
@@ -745,26 +745,20 @@ uaudio_attach(device_t dev)
if (sc->sc_play_chan.valid) {
device_printf(dev, "Play: %d Hz, %d ch, %s format, "
- "2x%d samples buffer.\n",
+ "2x8ms buffer.\n",
sc->sc_play_chan.sample_rate,
sc->sc_play_chan.channels,
- sc->sc_play_chan.p_fmt->description,
- (sc->sc_play_chan.bytes_per_frame[0] *
- sc->sc_play_chan.intr_frames) /
- sc->sc_play_chan.sample_size);
+ sc->sc_play_chan.p_fmt->description);
} else {
device_printf(dev, "No playback.\n");
}
if (sc->sc_rec_chan.valid) {
device_printf(dev, "Record: %d Hz, %d ch, %s format, "
- "2x%d samples buffer.\n",
+ "2x8ms buffer.\n",
sc->sc_rec_chan.sample_rate,
sc->sc_rec_chan.channels,
- sc->sc_rec_chan.p_fmt->description,
- (sc->sc_rec_chan.bytes_per_frame[0] *
- sc->sc_rec_chan.intr_frames) /
- sc->sc_rec_chan.sample_size);
+ sc->sc_rec_chan.p_fmt->description);
} else {
device_printf(dev, "No recording.\n");
}