It's mixer_ctrl_t, not mixer_ctl_t.

This commit is contained in:
jmcneill 2007-11-10 20:54:56 +00:00
parent 7135f4bde9
commit 70e507c576

View File

@ -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)