wined3d: Pass a wined3d_state structure to find_vs_compile_args().
[wine.git] / dlls / wineoss.drv / oss.h
blobe1c9c89bb9fa1a7e30041a87673118028fa29536
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