Commit Graph

6 Commits

Author SHA1 Message Date
mrg eb0d04136f inline the contents of auconv.c into auconv.h. this makes audiorecord(1)
slightly smaller (about 200 bytes on x86) and i would guess slightly faster.
2002-10-13 00:59:45 +00:00
lukem 5d4973fe97 makefile delint. use NETBSDSRCDIR as appropriate 2002-09-18 14:00:33 +00:00
mrg 7aab3ecc6e for sun output files, if we have unsigned or little endian data, convert
it to signed big endian data.  pull in a modified copy of the kernels'
auconv.[ch] to help with this (and remove some home grown code that did
some of the same things.)
2002-01-15 17:02:51 +00:00
mrg 37188d08c6 - 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.
2002-01-15 08:19:36 +00:00
tv 8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
mrg 140c9e18e1 add audiorecord and audioplay tools. audioplay does .au and .wav files. audiorecord makes .au files only. uses parts of audioctl.. 1999-03-26 14:02:39 +00:00