svn commit: r221583 - stable/8/sys/dev/sound/pcm

Andriy Gapon avg at FreeBSD.org
Sat May 7 09:26:12 UTC 2011


Author: avg
Date: Sat May  7 09:26:11 2011
New Revision: 221583
URL: http://svn.freebsd.org/changeset/base/221583

Log:
  MFC r221388: SNDCTL_DSP_GETIPTR: set pointer to sndbuf_getfreeptr()

Modified:
  stable/8/sys/dev/sound/pcm/dsp.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/dev/sound/pcm/dsp.c
==============================================================================
--- stable/8/sys/dev/sound/pcm/dsp.c	Sat May  7 06:52:04 2011	(r221582)
+++ stable/8/sys/dev/sound/pcm/dsp.c	Sat May  7 09:26:11 2011	(r221583)
@@ -1655,7 +1655,7 @@ dsp_ioctl(struct cdev *i_dev, u_long cmd
 				/* XXX abusive DMA update: chn_rdupdate(rdch); */
 	        		a->bytes = sndbuf_gettotal(bs);
 	        		a->blocks = sndbuf_getblocks(bs) - rdch->blocks;
-	        		a->ptr = sndbuf_getreadyptr(bs);
+	        		a->ptr = sndbuf_getfreeptr(bs);
 				rdch->blocks = sndbuf_getblocks(bs);
 				CHN_UNLOCK(rdch);
 	    		} else


More information about the svn-src-stable-8 mailing list