Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/audiocfg Update for Jared's changes from a few minut...
details: https://anonhg.NetBSD.org/src/rev/92b62d1bf915
branches: trunk
changeset: 757485:92b62d1bf915
user: wiz <wiz%NetBSD.org@localhost>
date: Wed Sep 01 09:17:31 2010 +0000
description:
Update for Jared's changes from a few minutes ago.
diffstat:
usr.bin/audiocfg/audiocfg.1 | 35 +++++++++++++++++++++++++----------
1 files changed, 25 insertions(+), 10 deletions(-)
diffs (65 lines):
diff -r 22d99e3b41bf -r 92b62d1bf915 usr.bin/audiocfg/audiocfg.1
--- a/usr.bin/audiocfg/audiocfg.1 Wed Sep 01 09:04:16 2010 +0000
+++ b/usr.bin/audiocfg/audiocfg.1 Wed Sep 01 09:17:31 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: audiocfg.1,v 1.2 2010/09/01 07:50:33 wiz Exp $
+.\" $NetBSD: audiocfg.1,v 1.3 2010/09/01 09:17:31 wiz Exp $
.\"
.\" Copyright (c) 2010 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -35,23 +35,38 @@
.Nd configure default audio device
.Sh SYNOPSIS
.Nm
-.Op index
+.Cm list
+.Nm
+.Cm default
+.Ar index
+.Nm
+.Cm test
+.Ar index
.Sh DESCRIPTION
The
.Nm
utility helps maintaining the audio and mixer device symlinks.
-Run without arguments, it lists the available audio devices and shows
-the currently selected default audio device.
-If given an
-.Ar index
-argument, that device is set as default audio device.
+.Pp
+Run with
+.Dq Cm list ,
+it lists the available audio devices and shows the currently selected
+default audio device.
+Called with
+.Dq Cm test ,
+it plays a tone of 2 seconds for each channel of the device with the index
+.Ar index .
+Called with
+.Dq Cm default ,
+it sets the default audio device to the one with the index
+.Ar index .
+.Pp
.Nm
needs access to
.Pa /dev/drvctl
and write access to
.Pa /dev
-(when given an
-.Ar index )
+(when used with
+.Dq Cm default )
to work.
.Sh FILES
.Bl -tag -width 10n
@@ -64,7 +79,7 @@
.It Pa /dev/audioctl[0-9]*
Available audio control devices.
.It Pa /dev/drvctl
-Used for finding the correlating audio driver to an audio device.
+Used for finding the corresponding audio driver to an audio device.
.It Pa /dev/mixer
Symlink to default mixer device.
.It Pa /dev/mixer[0-9]*
Home |
Main Index |
Thread Index |
Old Index