Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
6eea1119
Commit
6eea1119
authored
Mar 28, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineesd.drv: Remove unnecessary ifdefs.
parent
1644b258
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
89 deletions
+20
-89
configure
configure
+0
-3
configure.ac
configure.ac
+1
-2
Makefile.in
dlls/wineesd.drv/Makefile.in
+1
-2
audio.c
dlls/wineesd.drv/audio.c
+18
-21
esound.c
dlls/wineesd.drv/esound.c
+0
-58
config.h.in
include/config.h.in
+0
-3
No files found.
configure
View file @
6eea1119
...
...
@@ -10799,9 +10799,6 @@ if test "x$ac_cv_lib_esd_esd_open_sound" = x""yes; then :
ESDLIBS
=
"
$ac_esd_libs
"
$as_echo
"#define HAVE_ESD 1"
>>
confdefs.h
fi
fi
...
...
configure.ac
View file @
6eea1119
...
...
@@ -1470,8 +1470,7 @@ then
AC_CHECK_HEADER(esd.h,
[AC_CHECK_LIB(esd,esd_open_sound,
[AC_SUBST(ESDINCL, "$ac_esd_incl")
AC_SUBST(ESDLIBS, "$ac_esd_libs")
AC_DEFINE(HAVE_ESD, 1, [Define if you have EsounD sound server])],,
AC_SUBST(ESDLIBS, "$ac_esd_libs")],,
[$ac_esd_libs])])
CFLAGS="$save_CFLAGS"
fi
...
...
dlls/wineesd.drv/Makefile.in
View file @
6eea1119
...
...
@@ -4,7 +4,6 @@ EXTRAINCL = @ESDINCL@
EXTRALIBS
=
@ESDLIBS@
C_SRCS
=
\
audio.c
\
esound.c
audio.c
@MAKE_DLL_RULES@
dlls/wineesd.drv/audio.c
View file @
6eea1119
...
...
@@ -71,8 +71,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(wave);
#include <sys/errno.h>
#endif
#ifdef HAVE_ESD
#include <esd.h>
/* unless someone makes a wineserver kernel module, Unix pipes are faster than win32 events */
...
...
@@ -2100,26 +2098,25 @@ DWORD WINAPI ESD_widMessage(UINT wDevID, UINT wMsg, DWORD dwUser,
return
MMSYSERR_NOTSUPPORTED
;
}
#else
/* !HAVE_ESD */
/**************************************************************************
*
wodMessage
(WINEESD.@)
*
DriverProc
(WINEESD.@)
*/
DWORD
WINAPI
ESD_wodMessage
(
WORD
wDevID
,
WORD
wMsg
,
DWORD
dwUser
,
DWORD_PTR
dwParam1
,
DWORD_PTR
dwParam2
)
LRESULT
CALLBACK
ESD_DriverProc
(
DWORD_PTR
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LPARAM
dwParam1
,
LPARAM
dwParam2
)
{
FIXME
(
"(%u, %04X, %08X, %08lX, %08lX):stub
\n
"
,
wDevID
,
wMsg
,
dwUser
,
dwParam1
,
dwParam2
);
return
MMSYSERR_NOTENABLED
;
}
/**************************************************************************
* widMessage (WINEESD.6)
*/
DWORD
WINAPI
ESD_widMessage
(
UINT
wDevID
,
UINT
wMsg
,
DWORD
dwUser
,
DWORD_PTR
dwParam1
,
DWORD_PTR
dwParam2
)
{
FIXME
(
"(%u, %04X, %08X, %08lX, %08lX):stub
\n
"
,
wDevID
,
wMsg
,
dwUser
,
dwParam1
,
dwParam2
);
return
MMSYSERR_NOTENABLED
;
switch
(
wMsg
)
{
case
DRV_LOAD
:
case
DRV_FREE
:
case
DRV_OPEN
:
case
DRV_CLOSE
:
case
DRV_INSTALL
:
case
DRV_REMOVE
:
case
DRV_ENABLE
:
case
DRV_DISABLE
:
case
DRV_QUERYCONFIGURE
:
return
1
;
case
DRV_CONFIGURE
:
MessageBoxA
(
0
,
"EsounD MultiMedia Driver!"
,
"EsounD Driver"
,
MB_OK
);
return
1
;
default:
return
0
;
}
}
#endif
/* HAVE_ESD */
dlls/wineesd.drv/esound.c
deleted
100644 → 0
View file @
1644b258
/*
* Wine Driver for EsounD Sound Server
* http://www.tux.org/~ricdude/EsounD.html
*
* Copyright 2004 Zhangrong Huang <hzhr@users.sourceforge.net>
*
* Code massively copied from Eric Pouech's OSS driver
* and Chris Morgan aRts driver
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "mmddk.h"
/**************************************************************************
* DriverProc (WINEESD.@)
*/
LRESULT
CALLBACK
ESD_DriverProc
(
DWORD_PTR
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LPARAM
dwParam1
,
LPARAM
dwParam2
)
{
switch
(
wMsg
)
{
#ifdef HAVE_ESD
case
DRV_LOAD
:
case
DRV_FREE
:
case
DRV_OPEN
:
case
DRV_CLOSE
:
case
DRV_INSTALL
:
case
DRV_REMOVE
:
case
DRV_ENABLE
:
case
DRV_DISABLE
:
case
DRV_QUERYCONFIGURE
:
return
1
;
case
DRV_CONFIGURE
:
MessageBoxA
(
0
,
"EsounD MultiMedia Driver!"
,
"EsounD Driver"
,
MB_OK
);
return
1
;
#endif
default:
return
0
;
}
}
include/config.h.in
View file @
6eea1119
...
...
@@ -104,9 +104,6 @@
/* Define to 1 if you have the `epoll_create' function. */
#undef HAVE_EPOLL_CREATE
/* Define if you have EsounD sound server */
#undef HAVE_ESD
/* Define to 1 if you have the `ffs' function. */
#undef HAVE_FFS
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment