Fix typos.
This commit is contained in:
parent
7e3be35edc
commit
bf9ad9a53c
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: audio.9,v 1.2 1997/10/08 22:00:21 jtc Exp $
|
||||
.\" $NetBSD: audio.9,v 1.3 1997/10/11 15:33:26 augustss Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
|
@ -41,7 +41,7 @@
|
|||
The audio device driver is divided into a high level,
|
||||
hardware independent layer, and a low level hardware
|
||||
dependent layer. The interface between these is
|
||||
a audio_hw_if structure.
|
||||
the audio_hw_if structure.
|
||||
.Bd -literal
|
||||
struct audio_hw_if {
|
||||
int (*open)__P((void *, int));
|
||||
|
@ -348,21 +348,21 @@ Return 0 on success, otherwise an error code.
|
|||
.It Dv int setfd(void *hdl, int fd)
|
||||
optional, called when
|
||||
.Dv AUDIO_SETFD
|
||||
is used.
|
||||
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)
|
||||
called in when
|
||||
.Dv AUDIO_MIXER_WRITE
|
||||
is used. Should fill the
|
||||
is used. It should take data from the
|
||||
.Va di
|
||||
struct.
|
||||
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)
|
||||
called in when
|
||||
.Dv AUDIO_MIXER_READ
|
||||
is used. Should fill the
|
||||
is used. It should fill the
|
||||
.Va di
|
||||
struct.
|
||||
Return 0 on success, otherwise an error code.
|
||||
|
@ -370,7 +370,7 @@ Return 0 on success, otherwise an error code.
|
|||
.It Dv int query_devinfo(void *hdl, mixer_devinfo_t *di)
|
||||
called in when
|
||||
.Dv AUDIO_MIXER_DEVINFO
|
||||
is used. Should fill the
|
||||
is used. It should fill the
|
||||
.Va di
|
||||
struct.
|
||||
Return 0 on success, otherwise an error code.
|
||||
|
|
Loading…
Reference in New Issue