wiz
c053751628
compatibility, not compatiblity.
2003-01-06 13:26:24 +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
e7e34e98bb
fix an error message
2002-12-08 10:49:22 +00:00
mrg
18c97a1496
remove some #if 0 debug code
2002-12-08 10:49:03 +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
mrg
c7cd1b33d0
fix PR#18909, but not quite exactly the same as the patch provided. also,
...
check if the filesize causes a size_t overflow and if so, use the fallback
read/write loop method.
2002-11-04 12:04:23 +00:00
wiz
9a746b1751
Move close so that last ioctl is before close call.
...
Fix duplicate word in comment.
Based on patch from Christian Biere in PR 18902, with a style nit fixed.
2002-11-03 19:35:00 +00:00
wiz
e1ec03904e
New sentence, new line. Use Aq/An.
2002-10-13 01:06:42 +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
eb0d04136f
inline the contents of auconv.c into auconv.h. this makes audiorecord(1)
...
slightly smaller (about 200 bytes on x86) and i would guess slightly faster.
2002-10-13 00:59:45 +00:00
mrg
ba18b19aa5
if the output file is called *.wav, output a WAV file.
2002-10-13 00:56:44 +00:00
mrg
88f885d72e
print the file name in verbose mode as well. avoid printing (null) for encoding.
2002-10-01 20:22:10 +00:00
lukem
5d4973fe97
makefile delint. use NETBSDSRCDIR as appropriate
2002-09-18 14:00:33 +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
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
53ecceda8d
apply the same fix as the previous to WAV output creation.
2002-02-10 13:23:27 +00:00
mrg
10d9e15ba0
convert the host (non _LE or _BE) encodings we can, as well. fixes part
...
of PR#12809...
2002-02-10 13:16:08 +00:00
mrg
9f1df20b86
define: datasize == 0 means use the whole file. fixes part of PR#12809.
2002-02-10 13:15:08 +00:00
ross
2a76afae02
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
2002-02-08 01:36:18 +00:00
augustss
b5d25cc57f
Test for default device in a portable way. Thanks to Michael Ericsson
...
for spotting the problem.
2002-02-05 00:17:26 +00:00
jdolecek
ef0bbb2a55
Retire -C, do all the ioctls on same audio device we do i/o
2002-02-02 20:20:23 +00:00
augustss
adeb3ad736
Actually be verbose if the -V flag is given.
2002-01-31 00:33:10 +00:00
augustss
d1c426fe38
Use _PATH_SOUND etc, all fall back to _PATH_SOUND0 (etc.) if that fails.
2002-01-31 00:03:23 +00:00
jdolecek
910223ce2e
Delete the old code which made audioctl use stderr for output
...
if the stdout was same as the audio device. It's no longer relevant,
and the check was broken anyway (code used st_dev rather than st_rdev
when comparing the character devices).
A by-product of this is that 'audioctl -a > /dev/null' now works.
Okay'ed by Lennart.
2002-01-27 18:21:52 +00:00
jdolecek
b88029fb96
Use '-d' rather than '-f' for specification of alternative
...
mixer or audioctl device. The support for '-f' is kept for compatibility
for now.
2002-01-27 10:09:55 +00:00
mrg
85fefefd90
update .Dd
2002-01-25 15:35:32 +00:00
mrg
2d530607f5
add $NetBSD$
2002-01-25 15:33:51 +00:00
mrg
e7fdf18240
- WARNS=3 (from ross@netbsd.org)
...
- fix a bug in WAV conversions
2002-01-15 23:48:51 +00:00
wiz
65769c2397
Fix typos.
2002-01-15 17:21:47 +00:00
mrg
78c74d73fd
note about WAV sample conversions.
2002-01-15 17:18:28 +00:00
mrg
826ddb01b9
WAV seems to be signed only; convert unsigned samples.
2002-01-15 17:17:13 +00:00
mrg
fa4d70edd0
add a note about RIFF/WAVE support and one about signed/unsigned big/little conversion.
2002-01-15 17:10:06 +00:00
mrg
7aab3ecc6e
for sun output files, if we have unsigned or little endian data, convert
...
it to signed big endian data. pull in a modified copy of the kernels'
auconv.[ch] to help with this (and remove some home grown code that did
some of the same things.)
2002-01-15 17:02:51 +00:00
mrg
9ab6411c17
sun linear encodings are *signed*
2002-01-15 17:01:33 +00:00
mrg
2b03c0df7a
KNF.
2002-01-15 17:00:53 +00:00
mrg
36fef830b3
flush the audio buffer on signals; from Ben Wong <hackerb9@u.washington.edu> in PR#9134
2002-01-15 15:18:11 +00:00
wiz
b02fbc487c
Sort SEE ALSO.
2002-01-15 09:21:35 +00:00
mrg
829efa09e1
- add signed linear support to audiorecord's WAV support.
...
- swap big endian samples for WAV.
- update audioplay(1) and audiorecord(1) audio driver xrefs.
XXX fix support for unsigned linear samples -- it seems they need
to be converted to signed for WAV???
2002-01-15 08:59:20 +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
ross
bbd1a97b76
fix regression, err() -> errx()
2002-01-13 04:48:33 +00:00
ross
f0b8f2b291
Rototill play_fd() to fix some original problems and some added later.
...
Also, fix up for and enable WARNS=2. This fixes problems playing from
pipes or standard input, and playing from funny filesystems or other
cases that can't be mmap(2)ed.
2002-01-13 04:43:18 +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
tv
8e6f7afb5b
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
wiz
2c26591198
Sort sections, sort SEE ALSO, drop trailing '.' in SEE ALSO, use standard
...
headers.
2001-12-01 17:17:58 +00:00