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
c64ce9d0
Commit
c64ce9d0
authored
Dec 06, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Remove mmErr(). It is not used anymore.
parent
f8dbf97e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
28 deletions
+0
-28
dsound_main.c
dlls/dsound/dsound_main.c
+0
-27
dsound_private.h
dlls/dsound/dsound_private.h
+0
-1
No files found.
dlls/dsound/dsound_main.c
View file @
c64ce9d0
...
...
@@ -101,33 +101,6 @@ static HANDLE g_devenum_thread;
WCHAR
wine_vxd_drv
[]
=
{
'w'
,
'i'
,
'n'
,
'e'
,
'm'
,
'm'
,
'.'
,
'v'
,
'x'
,
'd'
,
0
};
HRESULT
mmErr
(
UINT
err
)
{
switch
(
err
)
{
case
MMSYSERR_NOERROR
:
return
DS_OK
;
case
MMSYSERR_ALLOCATED
:
return
DSERR_ALLOCATED
;
case
MMSYSERR_ERROR
:
case
MMSYSERR_INVALHANDLE
:
case
WAVERR_STILLPLAYING
:
return
DSERR_GENERIC
;
/* FIXME */
case
MMSYSERR_NODRIVER
:
return
DSERR_NODRIVER
;
case
MMSYSERR_NOMEM
:
return
DSERR_OUTOFMEMORY
;
case
MMSYSERR_INVALPARAM
:
case
WAVERR_BADFORMAT
:
case
WAVERR_UNPREPARED
:
return
DSERR_INVALIDPARAM
;
case
MMSYSERR_NOTSUPPORTED
:
return
DSERR_UNSUPPORTED
;
default:
FIXME
(
"Unknown MMSYS error %d
\n
"
,
err
);
return
DSERR_GENERIC
;
}
}
/* All default settings, you most likely don't want to touch these, see wiki on UsefulRegistryKeys */
int
ds_hel_buflen
=
32768
*
2
;
int
ds_snd_queue_max
=
10
;
...
...
dlls/dsound/dsound_private.h
View file @
c64ce9d0
...
...
@@ -383,7 +383,6 @@ extern GUID DSOUND_capture_guids[MAXWAVEDRIVERS] DECLSPEC_HIDDEN;
extern
WCHAR
wine_vxd_drv
[]
DECLSPEC_HIDDEN
;
HRESULT
mmErr
(
UINT
err
)
DECLSPEC_HIDDEN
;
void
setup_dsound_options
(
void
)
DECLSPEC_HIDDEN
;
const
char
*
dumpCooperativeLevel
(
DWORD
level
)
DECLSPEC_HIDDEN
;
...
...
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