summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2020-04-22 21:39:21 +0000
committerjmc <jmc@openbsd.org>2020-04-22 21:39:21 +0000
commit106c442493fd78ccfdfbdf7bcc446add49a36523 (patch)
treeba43d41551541eb351347895a6dee58d8685ffc1
parentImprove join-pane, move-pane and break-pane: (diff)
downloadwireguard-openbsd-106c442493fd78ccfdfbdf7bcc446add49a36523.tar.xz
wireguard-openbsd-106c442493fd78ccfdfbdf7bcc446add49a36523.zip
use a root prompt for EXAMPLES; ok ratchov
-rw-r--r--usr.bin/audioctl/audioctl.86
-rw-r--r--usr.bin/mixerctl/mixerctl.812
2 files changed, 9 insertions, 9 deletions
diff --git a/usr.bin/audioctl/audioctl.8 b/usr.bin/audioctl/audioctl.8
index 659cc603183..026b6e3382d 100644
--- a/usr.bin/audioctl/audioctl.8
+++ b/usr.bin/audioctl/audioctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: audioctl.8,v 1.2 2020/04/22 05:37:00 jmc Exp $
+.\" $OpenBSD: audioctl.8,v 1.3 2020/04/22 21:39:21 jmc Exp $
.\" $NetBSD: audioctl.1,v 1.7 1998/04/27 16:55:23 augustss Exp $
.\" Copyright (c) 1997 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -133,12 +133,12 @@ audio devices
Display the number of bytes of silence inserted during play buffer
underruns since device started:
.Bd -literal -offset indent
-$ audioctl play.errors
+# audioctl play.errors
.Ed
.Pp
Use signed 24-bit samples and 44100Hz sample rate:
.Bd -literal -offset indent
-$ audioctl -f /dev/audio0 encoding=s24 rate=44100
+# audioctl -f /dev/audio0 encoding=s24 rate=44100
.Ed
.Pp
Note the use of
diff --git a/usr.bin/mixerctl/mixerctl.8 b/usr.bin/mixerctl/mixerctl.8
index 80b71a8a461..f21468aa1c6 100644
--- a/usr.bin/mixerctl/mixerctl.8
+++ b/usr.bin/mixerctl/mixerctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mixerctl.8,v 1.3 2020/04/22 08:25:27 ratchov Exp $
+.\" $OpenBSD: mixerctl.8,v 1.4 2020/04/22 21:39:21 jmc Exp $
.\" $NetBSD: mixerctl.1,v 1.8 1998/05/09 12:41:16 augustss Exp $
.\"
.\" Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -163,7 +163,7 @@ configuration file.
Show possible values for all device variables,
and their current settings:
.Bd -literal -offset indent
-$ mixerctl -av
+# mixerctl -av
inputs.mic=0,0 volume
inputs.mic.mute=off [ off on ]
inputs.cd=220,220 volume
@@ -177,10 +177,10 @@ monitor.monitor=0 volume
.Pp
Toggle inputs.dac.mute:
.Bd -literal -offset indent
-$ mixerctl -t inputs.dac.mute
-inputs.dac.mute: off -\*(Gt on
-$ mixerctl inputs.dac.mute=toggle
-inputs.dac.mute: on -\*(Gt off
+# mixerctl -t inputs.dac.mute
+inputs.dac.mute: off -> on
+# mixerctl inputs.dac.mute=toggle
+inputs.dac.mute: on -> off
.Ed
.Sh SEE ALSO
.Xr aucat 1 ,