Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jul 2009 16:50:33 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r195640 - head/sys/dev/sound/usb
Message-ID:  <200907121650.n6CGoXI9089943@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcel
Date: Sun Jul 12 16:50:32 2009
New Revision: 195640
URL: http://svn.freebsd.org/changeset/base/195640

Log:
  Isochronous transfers only have 1 frame buffer, but multiple
  frame lengths. The frame buffer is at index 0.
  
  Approved by:	re (kensmith)
  Obtained from:	HPS

Modified:
  head/sys/dev/sound/usb/uaudio.c

Modified: head/sys/dev/sound/usb/uaudio.c
==============================================================================
--- head/sys/dev/sound/usb/uaudio.c	Sun Jul 12 16:46:43 2009	(r195639)
+++ head/sys/dev/sound/usb/uaudio.c	Sun Jul 12 16:50:32 2009	(r195640)
@@ -1256,7 +1256,7 @@ tr_transferred:
 		for (n = 0; n != nframes; n++) {
 
 			offset1 = offset0;
-			pc = usbd_xfer_get_frame(xfer, n);
+			pc = usbd_xfer_get_frame(xfer, 0);
 			len = usbd_xfer_frame_len(xfer, n);
 
 			while (len > 0) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907121650.n6CGoXI9089943>