From 70e507c57625e5f19faefdf92313ce6a1fcda7ac Mon Sep 17 00:00:00 2001 From: jmcneill Date: Sat, 10 Nov 2007 20:54:56 +0000 Subject: [PATCH] It's mixer_ctrl_t, not mixer_ctl_t. --- share/man/man9/audio.9 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/share/man/man9/audio.9 b/share/man/man9/audio.9 index 4164f547bde8..a2d81d1a812c 100644 --- a/share/man/man9/audio.9 +++ b/share/man/man9/audio.9 @@ -1,4 +1,4 @@ -.\" $NetBSD: audio.9,v 1.38 2007/07/30 22:48:46 alc Exp $ +.\" $NetBSD: audio.9,v 1.39 2007/11/10 20:54:56 jmcneill Exp $ .\" .\" Copyright (c) 1999, 2000 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -394,20 +394,20 @@ optional, is called when .Dv AUDIO_SETFD is used, but only if the device has AUDIO_PROP_FULLDUPLEX set. Return 0 on success, otherwise an error code. -.It Dv int set_port(void *hdl, mixer_ctl_t *mc) +.It Dv int set_port(void *hdl, mixer_ctrl_t *mc) is called in when .Dv AUDIO_MIXER_WRITE is used. It should take data from the -.Va mixer_ctl_t +.Va mixer_ctrl_t struct at set the corresponding mixer values. Return 0 on success, otherwise an error code. -.It Dv int get_port(void *hdl, mixer_ctl_t *mc) +.It Dv int get_port(void *hdl, mixer_ctrl_t *mc) is called in when .Dv AUDIO_MIXER_READ is used. It should fill the -.Va mixer_ctl_t +.Va mixer_ctrl_t struct. Return 0 on success, otherwise an error code. .It Dv int query_devinfo(void *hdl, mixer_devinfo_t *di)