Commit Graph

182 Commits

Author SHA1 Message Date
christos
48adc0d0fe PR/45384: Henning Petersen: Swapped arguments in lseek 2011-09-21 14:32:14 +00:00
jmcneill
a123dfbe30 recognize AUDIO_ENCODING_AC3 2011-09-06 22:41:53 +00:00
joerg
c36a7298be ANSIfy. Add static. Add __dead. 2011-08-28 01:17:47 +00:00
wiz
90bb351524 Sort usage. 2010-12-29 18:49:41 +00:00
wiz
7072bc9c3f Use better reference after sorting in -f description. 2010-12-29 18:48:56 +00:00
wiz
29bd138c93 Sort usage. 2010-12-29 18:48:40 +00:00
wiz
825164c33e Sort some more. 2010-12-29 18:46:48 +00:00
jmcneill
94f6c5770b allow for buffer sizes < 32k 2010-12-29 14:38:54 +00:00
mrg
ebcfca8be3 add a new "-B buffersize" flag to both audioplay and audiorecord.
suggested by jmcneill@.

sort audioplay manual some.
2010-12-29 13:09:03 +00:00
joerg
757c7f4987 Reorder sections to canonical order. 2010-05-15 00:08:31 +00:00
mrg
983926d7bf note that -t can take [.dddddd]. sort -q.
from dhgutteridge@sympatico.ca in PR#36928.
2009-07-02 04:45:27 +00:00
mrg
95c070cab9 - add extended WAVE header support
- attempt to play a bunch more WAV files
2009-06-18 02:37:27 +00:00
lukem
c1ceae17f0 Enable WARNS=4 by default for usr.bin, except for:
awk  bdes  checknr  compile_et  error  gss  hxtool  kgetcred  kinit
	klist  ldd  less  lex  locale  login  m4  man  menuc  mk_cmds
	mklocale  msgc  openssl  rpcgen  rpcinfo  sdiff  spell  ssh
	string2key  telnet  tn3270  verify_krb5_conf  xlint
2009-04-14 22:15:16 +00:00
lukem
31582cc99b fix -Wsign-compare and other WARNS=4 issues 2009-04-11 10:43:09 +00:00
mrg
c2b95373bf remove clause #3 from my license where there are no other
copyright holders involved.
2008-05-29 14:51:25 +00:00
lukem
66176dfdff Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this is
a variable that is used by in-tree Makefiles to control behaviour.
(MKsomevar variables are generally intended to be controlled by the end-user)
2008-05-03 14:48:30 +00:00
martin
11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
martin
ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
perry
8b0f9554ff convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
lukem
5d427989ff Convert to raise_default_signal(3). 2007-10-05 07:27:41 +00:00
christos
afb23e8f50 use c99 initializer. 2006-10-22 16:12:20 +00:00
christos
f3d3c4b618 missing initializers. 2006-10-22 16:11:34 +00:00
christos
d257792f4a Coverity CID 3187: Fix memory leak 2006-05-23 01:07:16 +00:00
gson
9aca5a13df Recording to standard output is specified by a file name of -,
not by omitting the file name.
2006-05-15 02:21:37 +00:00
mrg
bc3f0566af variable signed/unsigned cleanup. 2006-05-11 01:19:10 +00:00
gson
dcf9144a8a Do not treat all file names of length 1 as meaning standard output. 2006-05-09 15:55:44 +00:00
perry
f2bc845517 __inline__ -> inline 2005-12-24 21:44:28 +00:00
mrg
a3d57ef1bd 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)
2005-07-13 10:57:11 +00:00
mrg
8ce77e5534 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.
2005-07-05 22:01:42 +00:00
mrg
906f130f1a check that an output file is given before doing any other work.
avoids touching the audio device and then printing an error.
2005-07-05 21:05:50 +00:00
lukem
658ed3362c appease gcc -Wuninitialized 2005-06-02 01:35:57 +00:00
dsl
8383dcf78c Add (unsigned char) cast to ctype functions 2004-10-30 16:57:27 +00:00
mycroft
26fc0dfe09 Convert 8-bit signed linear data to unsigned for .wav files. 2004-07-19 19:27:59 +00:00
mycroft
680669cd36 Fix fencepost errors in the conversion functions (making them a bit more like
the kernel versions).
2004-07-19 19:15:05 +00:00
wiz
b9c239be76 Add -q to SYNOPSIS. From Kouichirou Hiratsuka in PR 26193. 2004-07-09 11:36:33 +00:00
wiz
7f968efdc2 There is no -m option -- remove it from the usage.
From Kouichirou Hiratsuka in PR 26192.
2004-07-09 11:34:16 +00:00
drochner
e87f74fd64 put the __packed__ attribute close to the struct definition
(to appease gcc-3.4), and use the compiler-independant __packed
form for consistency
2004-07-01 20:56:34 +00:00
lukem
b817247988 Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and
setting NOLINT, NOPIC, NOPROFILE (etc)
2004-05-23 02:24:50 +00:00
mrg
b1da97fd23 apply the patch from PR#24127: make audio_wav_parse_hdr() take u_int *
parameters for encoding, precision, sample rate and channels.
2004-01-21 11:55:07 +00:00
fvdl
9651aa2f12 Don't set an int to NULL. 2003-10-21 02:15:00 +00:00
wiz
0402922a63 Sort usage, and move a word. 2003-08-07 10:04:21 +00:00
wiz
136392f22f Add arguments to options in long description. 2003-08-07 10:04:01 +00:00
salo
0f5a0c156d netbsd.org->NetBSD.org 2003-07-26 20:34:11 +00:00
mrg
dd10ebe3f2 fix a now-wrong comment. 2003-07-21 00:55:59 +00:00
mrg
e312c82e5f minor consistency nit 2003-07-21 00:55:40 +00:00
agc
c0db2196e7 Add NetBSD RCS Ids. 2003-06-23 12:15:00 +00:00
wiz
68caa698b2 Respect the law: Use A-law and mu-law as spellings as far as easily possible.
Inspired by Igor Sobrado in PR 19680.
2003-04-06 18:20:07 +00:00
perry
9f3d802514 audiofiles -> audio files 2003-03-31 02:40:25 +00:00
wiz
990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz
c053751628 compatibility, not compatiblity. 2003-01-06 13:26:24 +00:00