2002-03-10 00:29:33 +01: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
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*/
|
1999-09-05 18:39:23 +02:00
|
|
|
|
2001-11-06 21:57:11 +01:00
|
|
|
#ifndef __WINE_CONFIG_H
|
|
|
|
# error You must include config.h to use this header
|
|
|
|
#endif
|
2000-11-26 05:04:21 +01:00
|
|
|
|
1999-09-05 18:39:23 +02: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
|
|
|
|
|
|
|
|
#ifdef SOUND_VERSION
|
|
|
|
#define IOCTL(a,b,c) ioctl(a,b,&c)
|
|
|
|
#else
|
|
|
|
#define IOCTL(a,b,c) (c = ioctl(a,b,c))
|
|
|
|
#endif
|
|
|
|
|
2000-06-24 19:54:43 +02:00
|
|
|
extern LONG OSS_WaveInit(void);
|
|
|
|
extern BOOL OSS_MidiInit(void);
|
1999-09-05 18:39:23 +02:00
|
|
|
|