Commit Graph

11 Commits

Author SHA1 Message Date
mrg 16189b5a23 - add a AUDIO_FORMAT_DEFAULT. use it. don't change functionity.
- fix the function selection in sunau conversions.

- be more verbose when given -V.  (hi lennart! :)
2002-02-10 15:30:53 +00:00
mrg e7fdf18240 - WARNS=3 (from ross@netbsd.org)
- fix a bug in WAV conversions
2002-01-15 23:48: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
mrg 4a2b3c13ef fix 2001/03/04 change: audio_parse_wav_hdr() returns a signed value. 2002-01-01 08:07:28 +00:00
hubertf d0a42335a9 Don't play trailing garbage at end of RIFF WAVE (.wav) files
Patch sent by YAMAMOTO Takashi <takashi.yamamoto@bigfoot.com> in PR 12328
2001-03-04 15:27:35 +00:00
mrg 67312df72f de-__P()-ify 2000-12-22 11:38:42 +00:00
mrg 79a33dbcba libaudio:
- rename audio_get_sun_encoding() to audio_sun_to_encoding()
- add audio_encoding_to_sun()
play.c:
- adapt
record.c:
- convert NetBSD encoding to sun encoding if possible, otherwise don't
output a header at all.
fixes PR#10380 from Michael Eriksson <eramore@era-t.ericsson.se>.
2000-12-13 08:19:54 +00:00
mrg 94dde80b07 remove unused crap. 2000-06-18 07:20:15 +00:00
mrg eeeadf8446 make recording precision/encoding setting sane. 1999-03-27 17:46:00 +00:00
mrg e0c321f25d add missing copyrights. 1999-03-26 15:46:22 +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