summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorratchov <ratchov@openbsd.org>2018-05-26 10:20:24 +0000
committerratchov <ratchov@openbsd.org>2018-05-26 10:20:24 +0000
commitd9bbeec97d0cb406c9fc176bcdce8e01cc2794a3 (patch)
tree349a92bde582b4cb3bd12efee4f180f5c3521028
parentIn addition to "on" and "off", allow the audio "record.enable" mixer (diff)
downloadwireguard-openbsd-d9bbeec97d0cb406c9fc176bcdce8e01cc2794a3.tar.xz
wireguard-openbsd-d9bbeec97d0cb406c9fc176bcdce8e01cc2794a3.zip
Document the new "record.enable" mixer knob.
help from and ok schwarze
-rw-r--r--share/man/man4/audio.429
1 files changed, 27 insertions, 2 deletions
diff --git a/share/man/man4/audio.4 b/share/man/man4/audio.4
index ec8a8418ce3..90df800d43c 100644
--- a/share/man/man4/audio.4
+++ b/share/man/man4/audio.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: audio.4,v 1.75 2016/09/08 20:42:58 ratchov Exp $
+.\" $OpenBSD: audio.4,v 1.76 2018/05/26 10:20:24 ratchov Exp $
.\" $NetBSD: audio.4,v 1.20 1998/05/28 17:27:15 augustss Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 8 2016 $
+.Dd $Mdocdate: May 26 2018 $
.Dt AUDIO 4
.Os
.Sh NAME
@@ -51,6 +51,31 @@ underlying audio hardware drivers.
The audio layer provides full-duplex operation if the
underlying hardware configuration supports it.
.Pp
+In addition to hardware mixer controls like those
+documented in
+.Xr azalia 4 ,
+the
+.Nm
+driver exposes the
+.Va record.enable
+control.
+It may be controlled with
+.Xr mixerctl 1 .
+It accepts the following values:
+.Pp
+.Bl -tag -offset indent -width "sysctl" -compact
+.It Cm on
+Recording is enabled.
+.It Cm off
+Silence is returned instead of the recorded samples.
+.It Cm sysctl
+Behavior is controlled by the
+.Va kern.audio.record
+.Xr sysctl 2
+variable.
+This is the default.
+.El
+.Pp
There are three device files available for audio operation:
.Pa /dev/audio ,
.Pa /dev/audioctl ,