Commit Graph

41 Commits

Author SHA1 Message Date
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
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 e7fdf18240 - WARNS=3 (from ross@netbsd.org)
- fix a bug in WAV conversions
2002-01-15 23:48:51 +00:00
wiz 663a1fb2a8 Sort sections, drop some whitespace. 2001-10-17 22:13:04 +00:00
simonb 3fa9ceaa88 Fix white space and formatting nits. 2001-03-28 03:18:39 +00:00
cgd a8ec668ddf convert to use getprogname() 2001-02-19 23:03:42 +00:00
christos 8f3b31ba6f fix nested extern 2001-02-05 01:21:00 +00:00
mrg 67312df72f de-__P()-ify 2000-12-22 11:38:42 +00:00
augustss 6e9632f4a4 Xref audioplay(1) and audiorecord(1). 1999-04-02 15:53:39 +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
erh fa45851f9b Add missing .El line. 1999-03-10 05:14:51 +00:00
mycroft ed792e5ddd Oops; update the date as well. 1999-02-18 17:43:03 +00:00
mycroft e33b5e3104 Update comments. 1999-02-18 17:40:36 +00:00
mycroft ba0967bb41 Rework the examples section a little. 1999-02-18 17:37:37 +00:00
augustss 9726cfd1fb Make the copyright header conform to the NetBSD template. 1998-11-25 22:17:06 +00:00
augustss 479659f618 Fix thinko in last commit. 1998-08-21 19:52:39 +00:00
augustss 022a8ef794 Use audio and mixer devices with unit numbers. Also allow the devices
without unit numbers of a compatibility option is set.  Fixes PR 5991.
1998-08-21 19:45:37 +00:00
mrg 106340f1ef audio_prinfo.seek is now a UINT 1998-08-13 09:36:34 +00:00
mycroft 8efdd63546 Make it possible to do:
audioctl -w play=44100,2,16,slinear

Not the greatest implementation.
1998-08-10 18:19:03 +00:00
mycroft 519d858510 __AUDIT__ cleanup. 1998-07-28 19:22:54 +00:00
augustss 7a4317cfef Fix typo. From Feico Dillema <dillema@acm.org> 1998-07-13 15:11:03 +00:00
augustss b817f6c32a Chnage the name of the environment variables just introduced. 1998-04-27 16:55:23 +00:00
augustss 5749437b03 Add an environment variable for the default audio device. 1998-04-27 16:48:59 +00:00
augustss 69a1b57acb Update for SunOS compatibility. 1997-10-19 07:44:12 +00:00
lukem e3e553a90c fix .Nm usage 1997-10-18 12:05:22 +00:00
augustss 64e2e4badb Print properties differently.
Change indentation.
1997-10-11 13:40:26 +00:00
jtc 3ee7ba138d Fix tipo inherited from old version of TNF copyright template. 1997-10-08 22:31:53 +00:00
augustss b217726cdc Get rid of warnings. 1997-10-07 13:55:03 +00:00
augustss 4d52119684 Don't try opening the device O_RDWR. 1997-08-25 19:03:12 +00:00
augustss 653833821e Change to use /dev/audioctl. 1997-08-18 21:35:26 +00:00
augustss f18d1df87b Modernize for new audio features. 1997-07-27 01:28:04 +00:00
augustss 78612a1a5b Sync with audioio.h changes. 1997-07-16 06:55:27 +00:00
veego 6937751466 Sync with the recent changes of the audio variables.
s/AUDIO_ENCODING_LINEAR_LE/AUDIO_ENCODING_SLINEAR_LE/
s/AUDIO_ENCODING_LINEAR_BE/AUDIO_ENCODING_SLINEAR_BE/
1997-07-15 18:00:12 +00:00
augustss 72a30783f7 Fix pasto. 1997-05-21 22:25:13 +00:00
augustss 3f516911f6 Fix some buglets and clean up a little. 1997-05-19 16:32:54 +00:00
augustss 240af559df Add HISTORY section. 1997-05-15 16:38:34 +00:00
augustss 9d5e7c9a4c Add audio utility programs.
The audio device can be inspected and changed by audioctl,
and the mixer device by mixerctl.  The command syntax was
inspired by sysctl.
1997-05-13 17:35:50 +00:00