Update for Jared's changes from a few minutes ago.
This commit is contained in:
parent
e405ac8d24
commit
600e381dfa
@ -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 @@ Symlink to default audio control device.
|
||||
.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]*
|
||||
|
Loading…
Reference in New Issue
Block a user