diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2004-07-30 11:48:59 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2004-07-30 11:48:59 +0000 |
commit | 4f267f6f8412ab27d13cd27ffa73e64c22be2c9c (patch) | |
tree | b4dd7d77f631e2fff7ad6a628e7b0ab12cd539a6 /usr.bin/audioctl | |
parent | 9ddb95dc7bf75908590597d3cc3c88ebb396ab81 (diff) |
- better width for options list
- sort options
- small tweaks
- Xrs from Alexey E. Suslikov
Diffstat (limited to 'usr.bin/audioctl')
-rw-r--r-- | usr.bin/audioctl/audioctl.1 | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/usr.bin/audioctl/audioctl.1 b/usr.bin/audioctl/audioctl.1 index e4628030758..54bd8e2278e 100644 --- a/usr.bin/audioctl/audioctl.1 +++ b/usr.bin/audioctl/audioctl.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: audioctl.1,v 1.18 2004/07/06 02:46:06 vincent Exp $ +.\" $OpenBSD: audioctl.1,v 1.19 2004/07/30 11:48:58 jmc Exp $ .\" $NetBSD: audioctl.1,v 1.7 1998/04/27 16:55:23 augustss Exp $ .\" Copyright (c) 1997 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -52,7 +52,7 @@ .Nm audioctl .Op Fl f Ar file .Op Fl n -.Ar name=value +.Ar name Ns = Ns Ar value .Op Ar ... .Sh DESCRIPTION The @@ -68,18 +68,18 @@ operates on the device. .Pp The options are as follows: -.Bl -tag -width Ds +.Bl -tag -width "name=valueXX" .It Fl a Print all device variables and their current values. -.It Ar name=value -Attempt to set the specified variable -.Ar name -to -.Ar value . .It Fl f Ar file Specify an alternative audio control device. .It Fl n Suppress printing of the variable name. +.It Ar name Ns = Ns Ar value +Attempt to set the specified variable +.Ar name +to +.Ar value . .El .Sh ENVIRONMENT .Bl -tag -width AUDIOCTLDEVICE @@ -92,7 +92,7 @@ Audio control device to use. default audio control device .El .Sh EXAMPLES -To set the playing sampling rate to 11025 you can enter +To set the playing sampling rate to 11025 you can enter: .Pp .Dl $ audioctl play.sample_rate=11025 .Pp @@ -102,13 +102,15 @@ are reset when the device is opened. This can be circumvented like so: .Pp -.Dl $ (cat file.au; audioctl -f /dev/audioctl -a) > /dev/audio +.Dl $ (cat file.au; audioctl -f /dev/audioctl -a) \*(Gt /dev/audio or .Bd -literal -offset indent -compact $ (audioctl -f /dev/audioctl blocksize=1024; cat file.au) \e - > /dev/audio + \*(Gt /dev/audio .Ed .Sh SEE ALSO +.Xr aucat 1 , +.Xr cdio 1 , .Xr mixerctl 1 , .Xr audio 4 , .Xr sysctl 8 |