| 1 | /* $Id: ossdefos2.h,v 1.1.1.1 2003/07/02 13:56:58 eleph Exp $ */ | 
|---|
| 2 | /* | 
|---|
| 3 | * Type definitions | 
|---|
| 4 | * | 
|---|
| 5 | * (C) 2000-2002 InnoTek Systemberatung GmbH | 
|---|
| 6 | * (C) 2000-2001 Sander van Leeuwen (sandervl@xs4all.nl) | 
|---|
| 7 | * | 
|---|
| 8 | * This program is free software; you can redistribute it and/or | 
|---|
| 9 | * modify it under the terms of the GNU General Public License as | 
|---|
| 10 | * published by the Free Software Foundation; either version 2 of | 
|---|
| 11 | * the License, or (at your option) any later version. | 
|---|
| 12 | * | 
|---|
| 13 | * This program is distributed in the hope that it will be useful, | 
|---|
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
|---|
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
|---|
| 16 | * GNU General Public License for more details. | 
|---|
| 17 | * | 
|---|
| 18 | * You should have received a copy of the GNU General Public | 
|---|
| 19 | * License along with this program; if not, write to the Free | 
|---|
| 20 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, | 
|---|
| 21 | * USA. | 
|---|
| 22 | * | 
|---|
| 23 | */ | 
|---|
| 24 |  | 
|---|
| 25 | #ifndef __OSSDEFOS2_H__ | 
|---|
| 26 | #define __OSSDEFOS2_H__ | 
|---|
| 27 |  | 
|---|
| 28 | #define FAR48 __far | 
|---|
| 29 | #ifndef FAR | 
|---|
| 30 | #define FAR   __far | 
|---|
| 31 | #endif | 
|---|
| 32 |  | 
|---|
| 33 | #ifdef LINUX | 
|---|
| 34 | #define NEAR __near | 
|---|
| 35 |  | 
|---|
| 36 | typedef unsigned long ULONG; | 
|---|
| 37 | typedef unsigned long *PULONG; | 
|---|
| 38 | typedef unsigned short USHORT; | 
|---|
| 39 | typedef unsigned short *PUSHORT; | 
|---|
| 40 | typedef signed long LONG; | 
|---|
| 41 | typedef signed short SHORT; | 
|---|
| 42 | typedef signed short *PSHORT; | 
|---|
| 43 | typedef unsigned long BOOL; | 
|---|
| 44 | typedef ULONG FARPTR16; | 
|---|
| 45 | typedef char NEAR *LINEAR; | 
|---|
| 46 | typedef unsigned long APIRET; | 
|---|
| 47 | typedef void VOID; | 
|---|
| 48 | typedef void *PVOID; | 
|---|
| 49 | typedef signed int INT; | 
|---|
| 50 | typedef unsigned char UCHAR; | 
|---|
| 51 | typedef signed char CHAR; | 
|---|
| 52 | typedef CHAR *PCHAR; | 
|---|
| 53 | typedef unsigned char BYTE; | 
|---|
| 54 | typedef __int64 QWORD; | 
|---|
| 55 | typedef ULONG HFILE; | 
|---|
| 56 |  | 
|---|
| 57 | #define APIENTRY    _System | 
|---|
| 58 |  | 
|---|
| 59 | #endif | 
|---|
| 60 |  | 
|---|
| 61 | #define OSS_MIXER_VOLUME        0 | 
|---|
| 62 | #define OSS_MIXER_BASS          1 | 
|---|
| 63 | #define OSS_MIXER_TREBLE        2 | 
|---|
| 64 | #define OSS_MIXER_SYNTH         3 | 
|---|
| 65 | #define OSS_MIXER_PCM           4 | 
|---|
| 66 | #define OSS_MIXER_PCSPEAKER     5 | 
|---|
| 67 | #define OSS_MIXER_LINE          6 | 
|---|
| 68 | #define OSS_MIXER_MIC           7 | 
|---|
| 69 | #define OSS_MIXER_CD            8 | 
|---|
| 70 | #define OSS_MIXER_IMIX          9       /*  Recording monitor  */ | 
|---|
| 71 | #define OSS_MIXER_ALTPCM        10 | 
|---|
| 72 | #define OSS_MIXER_RECLEV        11      /* Recording level */ | 
|---|
| 73 | #define OSS_MIXER_IGAIN         12      /* Input gain */ | 
|---|
| 74 | #define OSS_MIXER_OGAIN         13      /* Output gain */ | 
|---|
| 75 | #define OSS_MIXER_LINE1         14      /* Input source 1  (aux1) */ | 
|---|
| 76 | #define OSS_MIXER_LINE2         15      /* Input source 2  (aux2) */ | 
|---|
| 77 | #define OSS_MIXER_LINE3         16      /* Input source 3  (line) */ | 
|---|
| 78 | #define OSS_MIXER_DIGITAL1      17      /* Digital (input) 1 */ | 
|---|
| 79 | #define OSS_MIXER_DIGITAL2      18      /* Digital (input) 2 */ | 
|---|
| 80 | #define OSS_MIXER_DIGITAL3      19      /* Digital (input) 3 */ | 
|---|
| 81 | #define OSS_MIXER_PHONEIN       20      /* Phone input */ | 
|---|
| 82 | #define OSS_MIXER_PHONEOUT      21      /* Phone output */ | 
|---|
| 83 | #define OSS_MIXER_VIDEO         22      /* Video/TV (audio) in */ | 
|---|
| 84 | #define OSS_MIXER_RADIO         23      /* Radio in */ | 
|---|
| 85 | #define OSS_MIXER_MONITOR       24      /* Monitor (usually mic) volume */ | 
|---|
| 86 | #define OSS_MIXER_3DDEPTH       25 | 
|---|
| 87 | #define OSS_MIXER_3DCENTER      26 | 
|---|
| 88 | #define OSS_MIXER_FRONT         27 | 
|---|
| 89 | #define OSS_MIXER_SPEAKER       28 | 
|---|
| 90 | #define OSS_MIXER_HEADPHONE     29 | 
|---|
| 91 | #define OSS_MIXER_NRDEVICES     30 | 
|---|
| 92 |  | 
|---|
| 93 | #endif | 
|---|