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
91d42b37
Commit
91d42b37
authored
Mar 28, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
Mar 30, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineesd.drv: Move the wodDsXxx() functions around to avoid forward declarations.
parent
e7c5759a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
23 deletions
+22
-23
audio.c
dlls/wineesd.drv/audio.c
+22
-23
No files found.
dlls/wineesd.drv/audio.c
View file @
91d42b37
...
@@ -212,9 +212,6 @@ typedef struct {
...
@@ -212,9 +212,6 @@ typedef struct {
static
WINE_WAVEOUT
WOutDev
[
MAX_WAVEOUTDRV
];
static
WINE_WAVEOUT
WOutDev
[
MAX_WAVEOUTDRV
];
static
WINE_WAVEIN
WInDev
[
MAX_WAVEINDRV
];
static
WINE_WAVEIN
WInDev
[
MAX_WAVEINDRV
];
static
DWORD
wodDsCreate
(
UINT
wDevID
,
PIDSDRIVER
*
drv
);
static
DWORD
wodDsDesc
(
UINT
wDevID
,
PDSDRIVERDESC
desc
);
/* These strings used only for tracing */
/* These strings used only for tracing */
static
const
char
*
wodPlayerCmdString
[]
=
{
static
const
char
*
wodPlayerCmdString
[]
=
{
"WINE_WM_PAUSING"
,
"WINE_WM_PAUSING"
,
...
@@ -228,6 +225,28 @@ static const char *wodPlayerCmdString[] = {
...
@@ -228,6 +225,28 @@ static const char *wodPlayerCmdString[] = {
"WINE_WM_STOPPING"
,
"WINE_WM_STOPPING"
,
};
};
/*======================================================================*
* Low level DSOUND implementation *
*======================================================================*/
static
DWORD
wodDsCreate
(
UINT
wDevID
,
PIDSDRIVER
*
drv
)
{
/* we can't perform memory mapping as we don't have a file stream
interface with esd like we do with oss */
MESSAGE
(
"This sound card's driver does not support direct access
\n
"
);
MESSAGE
(
"The (slower) DirectSound HEL mode will be used instead.
\n
"
);
return
MMSYSERR_NOTSUPPORTED
;
}
static
DWORD
wodDsDesc
(
UINT
wDevID
,
PDSDRIVERDESC
desc
)
{
memset
(
desc
,
0
,
sizeof
(
*
desc
));
strcpy
(
desc
->
szDesc
,
"Wine EsounD DirectSound Driver"
);
strcpy
(
desc
->
szDrvname
,
"wineesd.drv"
);
return
MMSYSERR_NOERROR
;
}
/*======================================================================*
/*======================================================================*
* Low level WAVE implementation *
* Low level WAVE implementation *
*======================================================================*/
*======================================================================*/
...
@@ -2071,26 +2090,6 @@ DWORD WINAPI ESD_widMessage(UINT wDevID, UINT wMsg, DWORD dwUser,
...
@@ -2071,26 +2090,6 @@ DWORD WINAPI ESD_widMessage(UINT wDevID, UINT wMsg, DWORD dwUser,
return
MMSYSERR_NOTSUPPORTED
;
return
MMSYSERR_NOTSUPPORTED
;
}
}
/*======================================================================*
* Low level DSOUND implementation *
*======================================================================*/
static
DWORD
wodDsCreate
(
UINT
wDevID
,
PIDSDRIVER
*
drv
)
{
/* we can't perform memory mapping as we don't have a file stream
interface with esd like we do with oss */
MESSAGE
(
"This sound card's driver does not support direct access
\n
"
);
MESSAGE
(
"The (slower) DirectSound HEL mode will be used instead.
\n
"
);
return
MMSYSERR_NOTSUPPORTED
;
}
static
DWORD
wodDsDesc
(
UINT
wDevID
,
PDSDRIVERDESC
desc
)
{
memset
(
desc
,
0
,
sizeof
(
*
desc
));
strcpy
(
desc
->
szDesc
,
"Wine EsounD DirectSound Driver"
);
strcpy
(
desc
->
szDrvname
,
"wineesd.drv"
);
return
MMSYSERR_NOERROR
;
}
#else
/* !HAVE_ESD */
#else
/* !HAVE_ESD */
/**************************************************************************
/**************************************************************************
...
...
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