summaryrefslogtreecommitdiff
path: root/usr.bin/audio/record/record.c
AgeCommit message (Expand)Author
2023-04-15Add support for recording 24bit wav files.mlelstv
2022-01-09Let user gracefully abort recording with SIGINT.mlelstv
2021-06-01audiorecord(1): Handle read(2) return value gracefully.riastradh
2015-08-05rename struct write_info as struct track_info, and the variable name 'wi'mrg
2013-08-30move most of the header writing code from record.c into wav.c and sun.c.mrg
2011-09-21PR/45384: Henning Petersen: Swapped arguments in lseekchristos
2011-08-28ANSIfy. Add static. Add __dead.joerg
2010-12-29Sort usage.wiz
2010-12-29allow for buffer sizes < 32kjmcneill
2010-12-29add a new "-B buffersize" flag to both audioplay and audiorecord.mrg
2009-04-11fix -Wsign-compare and other WARNS=4 issueslukem
2008-05-29remove clause #3 from my license where there are no othermrg
2007-12-15convert __attribute__s to applicable cdefs.h macrosperry
2007-10-05Convert to raise_default_signal(3).lukem
2006-05-11variable signed/unsigned cleanup.mrg
2006-05-09Do not treat all file names of length 1 as meaning standard output.gson
2005-07-13play.c: allow empty files to exit gracefully rather than with an errormrg
2005-07-05move some more processing before opening the audio device. don'tmrg
2005-07-05check that an output file is given before doing any other work.mrg
2004-07-19Convert 8-bit signed linear data to unsigned for .wav files.mycroft
2004-07-19Fix fencepost errors in the conversion functions (making them a bit more likemycroft
2003-10-21Don't set an int to NULL.fvdl
2003-08-07Sort usage, and move a word.wiz
2003-07-21fix a now-wrong comment.mrg
2003-06-23Add NetBSD RCS Ids.agc
2002-12-27- decode_int(): always use base 10, so that a time of "1:09" works.mrg
2002-10-13if the output file is called *.wav, output a WAV file.mrg
2002-07-20sweep of errx/warnx, remove unnecessary trailing \ngrant
2002-07-20fix an error message.mrg
2002-03-21_PATH_SOUND0 should be opened O_RDONLY (obvious pasto).uwe
2002-02-10- add a AUDIO_FORMAT_DEFAULT. use it. don't change functionity.mrg
2002-02-10apply the same fix as the previous to WAV output creation.mrg
2002-02-10convert the host (non _LE or _BE) encodings we can, as well. fixes partmrg
2002-02-05Test for default device in a portable way. Thanks to Michael Ericssonaugustss
2002-02-02Retire -C, do all the ioctls on same audio device we do i/ojdolecek
2002-01-31Use _PATH_SOUND etc, all fall back to _PATH_SOUND0 (etc.) if that fails.augustss
2002-01-15- WARNS=3 (from ross@netbsd.org)mrg
2002-01-15WAV seems to be signed only; convert unsigned samples.mrg
2002-01-15for sun output files, if we have unsigned or little endian data, convertmrg
2002-01-15- add signed linear support to audiorecord's WAV support.mrg
2002-01-15- add rudimentary "wav" recording support: don't think it copes withmrg
2001-06-07only warn about not writing the sun header once. PR#12809mrg
2001-05-02X68k built-in voice synthesizer supports 4bit ADPCM.minoura
2001-02-19convert to use getprogname()cgd
2001-02-05fix nested externchristos
2000-12-22de-__P()-ifymrg
2000-12-13libaudio:mrg
2000-02-02When no -e flag is used to specify the encoding, default to "ulaw". Thisdmcmahill
1999-11-08When we have to print usage instructions, don't indicate success in the exitkleink
1999-09-27run forever if no -t is specified, from dan mcmahillmrg