Release 1.1.37.
[wine/gsoc-2012-control.git] / dlls / wineoss.drv / oss.h
blobc6a45ae14479e107c2633c8d7af7d044e26fd718
1 /* Definition for OSS drivers : wine multimedia system
3 * Copyright 1999 Eric Pouech
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 #ifndef __WINE_CONFIG_H
21 # error You must include config.h to use this header
22 #endif
24 #if defined(HAVE_SYS_SOUNDCARD_H)
25 # include <sys/soundcard.h>
26 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
27 # include <machine/soundcard.h>
28 #elif defined(HAVE_SOUNDCARD_H)
29 # include <soundcard.h>
30 #endif
32 #ifdef HAVE_SYS_ERRNO_H
33 #include <sys/errno.h>
34 #endif
36 /* check for one of the Open Sound System specific SNDCTL_ defines */
37 #ifdef SNDCTL_DSP_STEREO
38 # define HAVE_OSS
39 #endif
41 LRESULT OSS_WaveInit(void);
42 LRESULT OSS_WaveExit(void);
44 LRESULT OSS_MidiInit(void);
45 LRESULT OSS_MidiExit(void);
47 LRESULT OSS_MixerInit(void);
48 LRESULT OSS_MixerExit(void);
50 LRESULT OSS_AuxInit(void);
51 LRESULT OSS_AuxExit(void);