Module Name:    src
Committed By:   nia
Date:           Wed Apr  7 09:58:58 UTC 2021

Modified Files:
        src/usr.bin/audiocfg: audiocfg.1

Log Message:
audiocfg(1): add examples


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 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.7 src/usr.bin/audiocfg/audiocfg.1:1.8
--- src/usr.bin/audiocfg/audiocfg.1:1.7	Mon Oct 19 21:46:15 2020
+++ src/usr.bin/audiocfg/audiocfg.1	Wed Apr  7 09:58:58 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: audiocfg.1,v 1.7 2020/10/19 21:46:15 dholland Exp $
+.\"	$NetBSD: audiocfg.1,v 1.8 2021/04/07 09:58:58 nia Exp $
 .\"
 .\" Copyright (c) 2010 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd October 19, 2020
+.Dd April 7, 2021
 .Dt AUDIOCFG 1
 .Os
 .Sh NAME
@@ -120,6 +120,12 @@ see
 .It Pa /dev/sound[0-9]*
 Available audio devices.
 .El
+.Sh EXAMPLES
+Configure audio device 0 for playing BluRay 5.1 surround sound:
+.Dl $ audiocfg set 0 p slinear_le 16 6 48000
+.Pp
+Configure audio device 0 for playing CD quality audio:
+.Dl $ audiocfg set 0 p slinear_le 16 2 44100
 .Sh SEE ALSO
 .Xr audioplay 1 ,
 .Xr audiorecord 1 ,

Reply via email to