Source-Changes-HG archive

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

[src/netbsd-1-4]: src/usr.bin/audio/record Pull up revision 1.10 (requested b...



details:   https://anonhg.NetBSD.org/src/rev/ff87792be01c
branches:  netbsd-1-4
changeset: 470264:ff87792be01c
user:      he <he%NetBSD.org@localhost>
date:      Wed Feb 02 23:22:59 2000 +0000

description:
Pull up revision 1.10 (requested by dmcmahill):
  When no `-e' flag is used to specify an encoding, default to
  "ulaw".  Fixes PR#9329.  Also document the default.

diffstat:

 usr.bin/audio/record/record.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 3f5cdd60900a -r ff87792be01c usr.bin/audio/record/record.c
--- a/usr.bin/audio/record/record.c     Wed Feb 02 23:12:55 2000 +0000
+++ b/usr.bin/audio/record/record.c     Wed Feb 02 23:22:59 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: record.c,v 1.4.2.4 1999/11/11 21:23:47 he Exp $        */
+/*     $NetBSD: record.c,v 1.4.2.5 2000/02/02 23:22:59 he Exp $        */
 
 /*
  * Copyright (c) 1999 Matthew R. Green
@@ -235,6 +235,8 @@
                if (encoding == -1)
                        errx(1, "unknown encoding, bailing...");
        }
+       else
+               encoding = AUDIO_ENCODING_ULAW;
 
        if (precision)
                info.record.precision = precision;



Home | Main Index | Thread Index | Old Index