summaryrefslogtreecommitdiff
path: root/usr.bin/cdio
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2009-04-10 18:51:45 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2009-04-10 18:51:45 +0000
commit2d152c27f3b1a0ab189abf8353c05e196498d89e (patch)
tree37d8e4246bc4c594fc66e8e2c3329b8fae6f2dd6 /usr.bin/cdio
parent3d6412bb61c977bb30c1d7cc7d4af886f92ef254 (diff)
Explain the AUDIODEVICE env. variable similarly to how sio_open(3) does.
discussed with jmc@
Diffstat (limited to 'usr.bin/cdio')
-rw-r--r--usr.bin/cdio/cdio.118
1 files changed, 14 insertions, 4 deletions
diff --git a/usr.bin/cdio/cdio.1 b/usr.bin/cdio/cdio.1
index 41190ad87a3..48800065447 100644
--- a/usr.bin/cdio/cdio.1
+++ b/usr.bin/cdio/cdio.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: cdio.1,v 1.51 2008/06/30 23:35:39 av Exp $
+.\" $OpenBSD: cdio.1,v 1.52 2009/04/10 18:51:44 ratchov Exp $
.\"
.\" Copyright (c) 1995 Serge V. Vakulenko
.\" All rights reserved.
@@ -29,7 +29,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 30 2008 $
+.Dd $Mdocdate: April 10 2009 $
.Dt CDIO 1
.Os
.Sh NAME
@@ -100,7 +100,11 @@ Unlike
.Ic play ,
the CD player need not be connected to an audio device;
instead it rips tracks from disk and outputs audio data to
-.Pa /dev/audio .
+the default
+.Xr audio 4
+device or
+.Xr aucat 1
+socket.
Both individual tracks and track ranges may be specified.
If range is specified in descending order tracks will be played in descending order.
If the first value in the range is omitted, tracks from first track on disk to the specified one will be played.
@@ -259,7 +263,7 @@ set stereo mode;
turn the sound off.
.El
.Sh ENVIRONMENT
-.Bl -tag -width "DICSXXX"
+.Bl -tag -width "AUDIODEVICEXXX"
.It Ev DISC , CDROM
Specifies the name of the CD device to use.
If both
@@ -279,6 +283,12 @@ the default is
See also the
.Fl f
option, above.
+.It Ev AUDIODEVICE
+Name of the
+.Xr aucat 1
+socket to connect to, or path to the
+.Xr audio 4
+device to use.
.El
.Sh FILES
.Bl -tag -width /dev/rmcd0c -compact