summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>1996-03-02 22:42:56 +0000
committermickey <mickey@openbsd.org>1996-03-02 22:42:56 +0000
commite156774865b9b72e0c606e9ba723cd4c2bc84baa (patch)
tree86968f997951129acbd1053a1fceddfa9eef5554
parentBuild lkm directory by default (diff)
downloadwireguard-openbsd-e156774865b9b72e0c606e9ba723cd4c2bc84baa.tar.xz
wireguard-openbsd-e156774865b9b72e0c606e9ba723cd4c2bc84baa.zip
from NetBSD: audio now compiles.
-rw-r--r--sys/sys/audioio.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/audioio.h b/sys/sys/audioio.h
index 4eba4eebbbf..4a5bb099377 100644
--- a/sys/sys/audioio.h
+++ b/sys/sys/audioio.h
@@ -1,4 +1,4 @@
-/* $NetBSD: audioio.h,v 1.3 1995/07/07 01:43:35 brezak Exp $ */
+/* $NetBSD: audioio.h,v 1.4 1996/02/17 02:28:56 jtk Exp $ */
/*
* Copyright (c) 1991-1993 Regents of the University of California.
@@ -73,6 +73,7 @@ struct audio_info {
u_int mode; /* current device mode */
#define AUMODE_PLAY 0x01
#define AUMODE_RECORD 0x02
+#define AUMODE_PLAY_ALL 0x04 /* play all samples--no real-time correction */
};
typedef struct audio_info audio_info_t;
@@ -121,6 +122,7 @@ typedef struct audio_encoding {
#define AUDIO_GETENC _IOWR('A', 28, struct audio_encoding)
#define AUDIO_GETFD _IOR('A', 29, int)
#define AUDIO_SETFD _IOWR('A', 30, int)
+#define AUDIO_PERROR _IOR('A', 31, int)
/*
* Mixer device