Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/arch/amiga/dev Pull up revision 1.26 (requested by ...



details:   https://anonhg.NetBSD.org/src/rev/0948035c07ea
branches:  netbsd-1-4
changeset: 470893:0948035c07ea
user:      he <he%NetBSD.org@localhost>
date:      Sat Sep 09 16:00:44 2000 +0000

description:
Pull up revision 1.26 (requested by is):
  Use the correct DMA pointer for the second channel on 14-bit
  byte-swapped conversion.  Fixes NULL pointer reference crash
  when playing 16-bit little-endian audio.

diffstat:

 sys/arch/amiga/dev/aucc.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 6c8b8a9d94bd -r 0948035c07ea sys/arch/amiga/dev/aucc.c
--- a/sys/arch/amiga/dev/aucc.c Sat Sep 09 15:55:36 2000 +0000
+++ b/sys/arch/amiga/dev/aucc.c Sat Sep 09 16:00:44 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aucc.c,v 1.24 1999/03/04 20:45:01 is Exp $     */
+/*     $NetBSD: aucc.c,v 1.24.2.1 2000/09/09 16:00:44 he Exp $ */
 
 /*
  * Copyright (c) 1999 Bernardo Innocenti
@@ -1283,7 +1283,7 @@
        int i;
 {
        u_char *ch0 = dmap[0];
-       u_char *ch3 = dmap[3];
+       u_char *ch3 = dmap[1];  /* XXX should be 3 */
 
        while (i--) {
                *ch3++ = *p++ >> 2;



Home | Main Index | Thread Index | Old Index