Commit Graph

93 Commits

Author SHA1 Message Date
mrg 707adea339 match message & conversion function name properly.
probably should make this into an array with two members.
2024-03-20 20:19:31 +00:00
gson ca24696e6c Clean up lines containing only spaces. 2024-02-27 20:40:29 +00:00
mrg 2026b7285b update my email address. 2024-02-04 05:43:05 +00:00
mlelstv 3375d27c67 Add support for recording 24bit wav files. 2023-04-15 12:39:44 +00:00
mlelstv 8a61065f27 Let user gracefully abort recording with SIGINT. 2022-01-09 06:33:13 +00:00
riastradh 36d4e80c28 audiorecord(1): Handle read(2) return value gracefully. 2021-06-01 21:08:48 +00:00
nia e11a27e948 Add an example for recording CD quality audio 2021-03-25 10:03:26 +00:00
sevan 0374e60ed5 audioamd is in the SPARC port 2020-01-31 00:21:53 +00:00
mrg a0e3e3912d rename struct write_info as struct track_info, and the variable name 'wi'
as 'ti', as this info is useful for reading as well.
2015-08-05 06:54:39 +00:00
riastradh 6cb10275d0 Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
mrg 0c2e06460b move most of the header writing code from record.c into wav.c and sun.c.
introduce a struct write_info for communication between front ends and
backends.

libaudio API is still pretty ugly, and needs to stay local here for now,
but it is a little more usable for other tools now.
2013-08-30 20:57:26 +00:00
wiz a5684d07dd Use Mt for email addresses. 2013-07-20 21:39:55 +00:00
christos 48adc0d0fe PR/45384: Henning Petersen: Swapped arguments in lseek 2011-09-21 14:32:14 +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 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
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
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
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
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
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
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
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
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 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
mrg c0f9ed084d - decode_int(): always use base 10, so that a time of "1:09" works.
- decode_time(): 60 seconds in a minute, really.
both from tsarna@netbsd.org.

- be verbose about the time we are going to record for, if verbose.
2002-12-27 23:43:15 +00:00
wiz e93f0aaa95 Be consistent about putting commas between items in an enumeration. 2002-12-18 19:48:28 +00:00
mrg be9dc1869d fix the description for "-p" to match reality, new text provided in PR#18949. 2002-12-08 10:00:12 +00:00
wiz 900f387c29 New sentence, new line. Sort options. Bump Dd for .wav-file handling.
Some nits.
2002-10-13 01:03:48 +00:00
mrg ba18b19aa5 if the output file is called *.wav, output a WAV file. 2002-10-13 00:56:44 +00:00
ross 96e43b2c89 + rephrase a bunch of stuff
+ fix totally bogus -i text
2002-09-02 04:40:03 +00:00
grant eda9e509bb sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:40:16 +00:00
mrg c5c02584f0 fix an error message. 2002-07-20 07:45:08 +00:00
uwe 770c31348b _PATH_SOUND0 should be opened O_RDONLY (obvious pasto). 2002-03-21 03:48:24 +00:00
augustss 957cbd212d Update man pages to reflect the use of /dev/sound instead of /dev/audio. 2002-02-26 00:15:57 +00:00
wiz 638f85ed29 Be more verbose in description of -e. 2002-02-10 16:46:44 +00:00