Commit Graph

19 Commits

Author SHA1 Message Date
kleink c9954566b9 When we have to print usage instructions, don't indicate success in the exit
status.
1999-11-08 10:21:20 +00:00
kleink 1447a4671d * Don't treat failure to open a file as fatal error; print a warning to
standard error, arrange for a non-zero exit status and continue with the
  next file.  Addresses PR bin/8748.
* GCC vs. ANSI: a cast doesn't yield an lvalue.
* Use MAP_FAILED.
1999-11-06 15:05:45 +00:00
mrg 4b5ab45441 fix bug introduced in 1.12:
only return a header length of 0 if we are using -f (force), not
in the case when we know how long the header is.  this stops from
playing the audio header.
1999-10-23 04:20:14 +00:00
mrg 86ee174f0b honour -f, even if we appear to have a sun audio file. un-byte-screw the encoding for printing, too. 1999-09-27 05:00:21 +00:00
mrg 217279cb42 add a note about "audioctl encodings", to find available supported encodings. 1999-09-14 05:04:21 +00:00
tron ac79ed84db Name possible encodings for "-e" option and add an example provided by
Ben Wong in PR bin/8391. Thanks must go to Ross Harvey for helping me
with the "nroff" stuff.
1999-09-13 19:36:30 +00:00
tron 5b011b57a2 Fix broken "-f" and "-P" options. Patches supplied by Ben Wong in
PR bin/8390.
1999-09-13 17:18:21 +00:00
kleink 8731671861 If not specified on the command line, attempt to fall back to the environment
variables AUDIODEVICE (for -d) and AUDIOCTLDEVICE (for -C, already used in
audioctl(1)) before falling back to _PATH_* constants.
1999-07-13 14:02:33 +00:00
jtk 51eba84c2c fix defect where specifying channels would also specify the same string
as the control device (missing 'break')
1999-05-17 02:03:36 +00:00
mrg dcd2624f5e try using normal read/write is mmap() fails. tell the VM system we are going to be doing sequential access via madvise(). 1999-04-13 07:21:45 +00:00
augustss fdf4fd888e Fix various buglets. 1999-04-02 16:05:55 +00:00
augustss 2ef8f0cac3 Insert an AUDIO_DRAIN at the end of each file. 1999-03-30 19:33:31 +00:00
mrg e90ff76184 document new play -f/-s/-P-/c/-e, s/name/named/ from mason in pr#7292. update dates. 1999-03-30 14:48:49 +00:00
mrg 8637d348ae add -f (force) flag to audioplay, plus -s/-P/-c/-e switches for force setting sample rate, precision, channels and encoding. fix some man pages missing .El bits (via veego) 1999-03-28 10:35:05 +00:00
mrg aefa214c3e expand usage message to reality. 1999-03-27 18:16:23 +00:00
mrg 740f05c805 add support to play stdin. 1999-03-27 05:14:37 +00:00
mrg e0c321f25d add missing copyrights. 1999-03-26 15:46:22 +00:00
mrg 072cb74108 audio paths are in <paths.h> 1999-03-26 14:05:41 +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