2002-03-09 23:29:33 +00:00
|
|
|
/* Definition for OSS drivers : wine multimedia system
|
|
|
|
*
|
|
|
|
* Copyright 1999 Eric Pouech
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
2006-05-18 12:49:52 +00:00
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
2002-03-09 23:29:33 +00:00
|
|
|
*/
|
1999-09-05 16:39:23 +00:00
|
|
|
|
2002-05-31 23:06:46 +00:00
|
|
|
#ifndef __WINE_CONFIG_H
|
|
|
|
# error You must include config.h to use this header
|
|
|
|
#endif
|
2000-11-26 04:04:21 +00:00
|
|
|
|
1999-09-05 16:39:23 +00:00
|
|
|
#if defined(HAVE_SYS_SOUNDCARD_H)
|
|
|
|
# include <sys/soundcard.h>
|
|
|
|
#elif defined(HAVE_MACHINE_SOUNDCARD_H)
|
|
|
|
# include <machine/soundcard.h>
|
|
|
|
#elif defined(HAVE_SOUNDCARD_H)
|
|
|
|
# include <soundcard.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_SYS_ERRNO_H
|
|
|
|
#include <sys/errno.h>
|
|
|
|
#endif
|
|
|
|
|
2005-08-08 11:17:25 +00:00
|
|
|
/* check for one of the Open Sound System specific SNDCTL_ defines */
|
|
|
|
#ifdef SNDCTL_DSP_STEREO
|
|
|
|
# define HAVE_OSS
|
|
|
|
#endif
|