Subject: CVS commit: basesrc/usr.bin/audio
To: None <source-changes@netbsd.org>
From: matthew green <mrg@netbsd.org>
List: source-changes
Date: 01/15/2002 10:19:39
Module Name:	basesrc
Committed By:	mrg
Date:		Tue Jan 15 08:19:39 UTC 2002

Modified Files:
	basesrc/usr.bin/audio/common: Makefile audio.c libaudio.h
	basesrc/usr.bin/audio/play: audioplay.1 play.c
	basesrc/usr.bin/audio/record: audiorecord.1 record.c
Added Files:
	basesrc/usr.bin/audio/common: sun.c wav.c

Log Message:
- add rudimentary "wav" recording support: don't think it copes with
big-endian systems properly yet -- need to add RIFX support or swap
samples while writing.  more on this coming soon.

- new "-F <format>" option for audiorecord.  supported values of <format>
are "sun", "wav" and "none", plus a few aliases.

- split sun & wav support out into their own files.

- don't assume that WAV header elements are properly aligned for the
type of data they hold.

XXX: still need to clean up libaudio interfaces a lot.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 basesrc/usr.bin/audio/common/Makefile
cvs rdiff -r1.13 -r1.14 basesrc/usr.bin/audio/common/audio.c
cvs rdiff -r1.8 -r1.9 basesrc/usr.bin/audio/common/libaudio.h
cvs rdiff -r0 -r1.1 basesrc/usr.bin/audio/common/sun.c \
    basesrc/usr.bin/audio/common/wav.c
cvs rdiff -r1.12 -r1.13 basesrc/usr.bin/audio/play/audioplay.1
cvs rdiff -r1.28 -r1.29 basesrc/usr.bin/audio/play/play.c
cvs rdiff -r1.15 -r1.16 basesrc/usr.bin/audio/record/audiorecord.1
cvs rdiff -r1.16 -r1.17 basesrc/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.