Subject: CVS commit: [netbsd-3] src/usr.bin/audio/record
To: None <source-changes@NetBSD.org>
From: Jeff Rizzo <riz@netbsd.org>
List: source-changes
Date: 07/19/2005 21:53:08
Module Name:	src
Committed By:	riz
Date:		Tue Jul 19 21:53:08 UTC 2005

Modified Files:
	src/usr.bin/audio/record [netbsd-3]: record.c

Log Message:
Pull up revisions 1.39-1.41 (requested by mrg in ticket #597):
1.39:
check that an output file is given before doing any other work.
avoids touching the audio device and then printing an error.

1.40:
move some more processing before opening the audio device.  don't
default the encoding to ulaw; default it to what ever the device
has.  the latter fixes PR#30612.

1.41:
play.c: allow empty files to exit gracefully rather than with an error
of "header seems really large".  reported by wiz.
record.c: don't use total_size in the header if is -1 (it's initial value)


To generate a diff of this commit:
cvs rdiff -r1.38 -r1.38.2.1 src/usr.bin/audio/record/record.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.