Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 May 2011 09:33:38 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r221584 - stable/7/sys/dev/sound/pcm
Message-ID:  <201105070933.p479Xc1X090732@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Sat May  7 09:33:37 2011
New Revision: 221584
URL: http://svn.freebsd.org/changeset/base/221584

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

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

Modified: stable/7/sys/dev/sound/pcm/dsp.c
==============================================================================
--- stable/7/sys/dev/sound/pcm/dsp.c	Sat May  7 09:26:11 2011	(r221583)
+++ stable/7/sys/dev/sound/pcm/dsp.c	Sat May  7 09:33:37 2011	(r221584)
@@ -1342,7 +1342,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



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