From: mickey Date: Sat, 2 Mar 1996 22:42:56 +0000 (+0000) Subject: from NetBSD: audio now compiles. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e156774865b9b72e0c606e9ba723cd4c2bc84baa;p=openbsd from NetBSD: audio now compiles. --- 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