summaryrefslogtreecommitdiff
path: root/share/man/man9/audio.9
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man9/audio.9')
-rw-r--r--share/man/man9/audio.946
1 files changed, 23 insertions, 23 deletions
diff --git a/share/man/man9/audio.9 b/share/man/man9/audio.9
index 501af1c04d6..93c4e353205 100644
--- a/share/man/man9/audio.9
+++ b/share/man/man9/audio.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: audio.9,v 1.8 2001/12/29 17:27:26 mickey Exp $
+.\" $OpenBSD: audio.9,v 1.9 2002/02/16 21:27:39 millert Exp $
.\" $NetBSD: audio.9,v 1.14 2000/02/11 22:56:15 kleink Exp $
.\"
.\" Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -50,44 +50,44 @@ The interface between these is the
structure.
.Bd -literal
struct audio_hw_if {
- int (*open)__P((void *, int));
- void (*close)__P((void *));
- int (*drain)__P((void *));
+ int (*open)(void *, int);
+ void (*close)(void *);
+ int (*drain)(void *);
- int (*query_encoding)__P((void *, struct audio_encoding *));
+ int (*query_encoding)(void *, struct audio_encoding *);
int (*set_params)__P((void *, int, int,
struct audio_params *, struct audio_params *));
- int (*round_blocksize)__P((void *, int));
+ int (*round_blocksize)(void *, int);
- int (*commit_settings)__P((void *));
+ int (*commit_settings)(void *);
- int (*init_output)__P((void *, void *, int));
- int (*init_input)__P((void *, void *, int));
+ int (*init_output)(void *, void *, int);
+ int (*init_input)(void *, void *, int);
int (*start_output)__P((void *, void *, int,
void (*)(void *), void *));
int (*start_input)__P((void *, void *, int,
void (*)(void *), void *));
- int (*halt_output)__P((void *));
- int (*halt_input)__P((void *));
+ int (*halt_output)(void *);
+ int (*halt_input)(void *);
- int (*speaker_ctl)__P((void *, int));
+ int (*speaker_ctl)(void *, int);
#define SPKR_ON 1
#define SPKR_OFF 0
- int (*getdev)__P((void *, struct audio_device *));
- int (*setfd)__P((void *, int));
+ int (*getdev)(void *, struct audio_device *);
+ int (*setfd)(void *, int);
- int (*set_port)__P((void *, mixer_ctrl_t *));
- int (*get_port)__P((void *, mixer_ctrl_t *));
+ int (*set_port)(void *, mixer_ctrl_t *);
+ int (*get_port)(void *, mixer_ctrl_t *);
- int (*query_devinfo)__P((void *, mixer_devinfo_t *));
+ int (*query_devinfo)(void *, mixer_devinfo_t *);
- void *(*allocm)__P((void *, int, size_t, int, int));
- void (*freem)__P((void *, void *, int));
- size_t (*round_buffersize)__P((void *, int, size_t));
- int (*mappage)__P((void *, void *, int, int));
+ void *(*allocm)(void *, int, size_t, int, int);
+ void (*freem)(void *, void *, int);
+ size_t (*round_buffersize)(void *, int, size_t);
+ int (*mappage)(void *, void *, int, int);
- int (*get_props)__P((void *));
+ int (*get_props)(void *);
int (*trigger_output)__P((void *, void *, void *, int,
void (*)(void *), void *, struct audio_params *));
@@ -101,7 +101,7 @@ struct audio_params {
u_int precision; /* bits/sample */
u_int channels; /* mono(1), stereo(2) */
/* Software en/decode functions, set if SW coding required by HW */
- void (*sw_code)__P((void *, u_char *, int));
+ void (*sw_code)(void *, u_char *, int);
int factor; /* coding space change */
};
.Ed