From 2d152c27f3b1a0ab189abf8353c05e196498d89e Mon Sep 17 00:00:00 2001 From: Alexandre Ratchov Date: Fri, 10 Apr 2009 18:51:45 +0000 Subject: Explain the AUDIODEVICE env. variable similarly to how sio_open(3) does. discussed with jmc@ --- usr.bin/cdio/cdio.1 | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'usr.bin/cdio') 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 -- cgit v1.2.3