Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lorenzo Ferrillo
wine
Commits
c64ce9d0
Commit
c64ce9d0
authored
13 years ago
by
Francois Gouget
Committed by
Alexandre Julliard
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
dsound: Remove mmErr(). It is not used anymore.
parent
f8dbf97e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dlls/dsound/dsound_main.c
+0
-27
0 additions, 27 deletions
dlls/dsound/dsound_main.c
dlls/dsound/dsound_private.h
+0
-1
0 additions, 1 deletion
dlls/dsound/dsound_private.h
with
0 additions
and
28 deletions
dlls/dsound/dsound_main.c
+
0
−
27
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
;
...
...
This diff is collapsed.
Click to expand it.
dlls/dsound/dsound_private.h
+
0
−
1
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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment