Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb uaudio_set_params():



details:   https://anonhg.NetBSD.org/src/rev/58c08ecf6e0e
branches:  trunk
changeset: 525910:58c08ecf6e0e
user:      kent <kent%NetBSD.org@localhost>
date:      Sat Apr 20 17:36:16 2002 +0000

description:
uaudio_set_params():
  Correct a parameter of uaudio_chan_init() for recording.
  This change fixes kern/16385.

diffstat:

 sys/dev/usb/uaudio.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 50a3d3c33a5c -r 58c08ecf6e0e sys/dev/usb/uaudio.c
--- a/sys/dev/usb/uaudio.c      Sat Apr 20 17:04:32 2002 +0000
+++ b/sys/dev/usb/uaudio.c      Sat Apr 20 17:36:16 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uaudio.c,v 1.58 2002/04/20 17:04:32 kent Exp $ */
+/*     $NetBSD: uaudio.c,v 1.59 2002/04/20 17:36:16 kent Exp $ */
 
 /*
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -44,7 +44,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uaudio.c,v 1.58 2002/04/20 17:04:32 kent Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uaudio.c,v 1.59 2002/04/20 17:36:16 kent Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -2505,7 +2505,7 @@
        }
        if ((usemode & AUMODE_RECORD) /*&& raltidx != sc->sc_recchan.altidx*/) {
                /* XXX abort transfer if currently happening? */
-               uaudio_chan_init(&sc->sc_recchan, raltidx, play);
+               uaudio_chan_init(&sc->sc_recchan, raltidx, rec);
        }
 
        DPRINTF(("uaudio_set_params: use altidx=p%d/r%d, altno=p%d/r%d\n",



Home | Main Index | Thread Index | Old Index