Module Name: src Committed By: wiz Date: Wed Sep 1 09:17:31 UTC 2010
Modified Files: src/usr.bin/audiocfg: audiocfg.1 Log Message: Update for Jared's changes from a few minutes ago. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/usr.bin/audiocfg/audiocfg.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/audiocfg/audiocfg.1 diff -u src/usr.bin/audiocfg/audiocfg.1:1.2 src/usr.bin/audiocfg/audiocfg.1:1.3 --- src/usr.bin/audiocfg/audiocfg.1:1.2 Wed Sep 1 07:50:33 2010 +++ src/usr.bin/audiocfg/audiocfg.1 Wed Sep 1 09:17:31 2010 @@ -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]*