Source-Changes-HG archive

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

[src/netbsd-3-0]: src/sys/dev Pull up following revision(s) (requested by ken...



details:   https://anonhg.NetBSD.org/src/rev/fd933e802f30
branches:  netbsd-3-0
changeset: 579392:fd933e802f30
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sat Mar 10 11:50:05 2007 +0000

description:
Pull up following revision(s) (requested by kent in ticket #1678):
        sys/dev/audio.c: revision 1.221
return information about playing buffer, not recording bufer,
for AUDIO_WSEEK.
PR#35171

diffstat:

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

diffs (27 lines):

diff -r 62fb1a852a89 -r fd933e802f30 sys/dev/audio.c
--- a/sys/dev/audio.c   Sun Mar 04 21:02:00 2007 +0000
+++ b/sys/dev/audio.c   Sat Mar 10 11:50:05 2007 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: audio.c,v 1.192.4.2.2.2 2006/04/19 21:01:00 tron Exp $ */
+/*     $NetBSD: audio.c,v 1.192.4.2.2.3 2007/03/10 11:50:05 bouyer Exp $       */
 
 /*
  * Copyright (c) 1991-1993 Regents of the University of California.
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.192.4.2.2.2 2006/04/19 21:01:00 tron Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.192.4.2.2.3 2007/03/10 11:50:05 bouyer Exp $");
 
 #include "audio.h"
 #if NAUDIO > 0
@@ -2080,7 +2080,7 @@
         * sample of what we write next?
         */
        case AUDIO_WSEEK:
-               *(u_long *)addr = audio_stream_get_used(sc->sc_rustream);
+               *(u_long *)addr = audio_stream_get_used(sc->sc_pustream);
                break;
 
        case AUDIO_SETINFO:



Home | Main Index | Thread Index | Old Index