Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/audio/common sun linear encodings are *signed*



details:   https://anonhg.NetBSD.org/src/rev/e44fb46d9038
branches:  trunk
changeset: 520758:e44fb46d9038
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Jan 15 17:01:33 2002 +0000

description:
sun linear encodings are *signed*

diffstat:

 usr.bin/audio/common/sun.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (24 lines):

diff -r 69940abc7498 -r e44fb46d9038 usr.bin/audio/common/sun.c
--- a/usr.bin/audio/common/sun.c        Tue Jan 15 17:00:53 2002 +0000
+++ b/usr.bin/audio/common/sun.c        Tue Jan 15 17:01:33 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sun.c,v 1.1 2002/01/15 08:19:37 mrg Exp $      */
+/*     $NetBSD: sun.c,v 1.2 2002/01/15 17:01:33 mrg Exp $      */
 
 /*
  * Copyright (c) 2002 Matthew R. Green
@@ -54,10 +54,10 @@
        int     precision;
 } file2sw_encodings[] = {
        { AUDIO_FILE_ENCODING_MULAW_8,          AUDIO_ENCODING_ULAW,    8 },
-       { AUDIO_FILE_ENCODING_LINEAR_8,         AUDIO_ENCODING_ULINEAR_BE, 8 },
-       { AUDIO_FILE_ENCODING_LINEAR_16,        AUDIO_ENCODING_ULINEAR_BE, 16 },
-       { AUDIO_FILE_ENCODING_LINEAR_24,        AUDIO_ENCODING_ULINEAR_BE, 24 },
-       { AUDIO_FILE_ENCODING_LINEAR_32,        AUDIO_ENCODING_ULINEAR_BE, 32 },
+       { AUDIO_FILE_ENCODING_LINEAR_8,         AUDIO_ENCODING_SLINEAR_BE, 8 },
+       { AUDIO_FILE_ENCODING_LINEAR_16,        AUDIO_ENCODING_SLINEAR_BE, 16 },
+       { AUDIO_FILE_ENCODING_LINEAR_24,        AUDIO_ENCODING_SLINEAR_BE, 24 },
+       { AUDIO_FILE_ENCODING_LINEAR_32,        AUDIO_ENCODING_SLINEAR_BE, 32 },
 #if 0
        /*
         * we should make some of these available.  the, eg ultrasparc, port



Home | Main Index | Thread Index | Old Index