Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
1b21fe82
Commit
1b21fe82
authored
Apr 03, 2012
by
Andrew Eikum
Committed by
Alexandre Julliard
Apr 03, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmddk.h: Remove unused, Wine-specific WinMM defines.
parent
b24da404
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
16 deletions
+0
-16
dsound.c
dlls/dsound/dsound.c
+0
-4
lolvldrv.c
dlls/winmm/lolvldrv.c
+0
-4
mmddk.h
include/mmddk.h
+0
-8
No files found.
dlls/dsound/dsound.c
View file @
1b21fe82
...
...
@@ -1203,10 +1203,6 @@ static HRESULT DirectSoundDevice_Create(DirectSoundDevice ** ppDevice)
return
DSERR_OUTOFMEMORY
;
}
/* We rely on the sound driver to return the actual sound format of
* the device if it does not support 22050x8x2 and is given the
* WAVE_DIRECTSOUND flag.
*/
device
->
pwfx
->
wFormatTag
=
WAVE_FORMAT_PCM
;
device
->
pwfx
->
nSamplesPerSec
=
ds_default_sample_rate
;
device
->
pwfx
->
wBitsPerSample
=
ds_default_bits_per_sample
;
...
...
dlls/winmm/lolvldrv.c
View file @
1b21fe82
...
...
@@ -340,10 +340,6 @@ UINT MMDRV_PhysicalFeatures(LPWINE_MLD mld, UINT uMsg,
case
DRV_QUERYDEVICEINTERFACESIZE
:
return
MMDRV_Message
(
mld
,
uMsg
,
dwParam1
,
dwParam2
);
case
DRV_QUERYDSOUNDIFACE
:
/* Wine-specific: Retrieve DirectSound interface */
case
DRV_QUERYDSOUNDDESC
:
/* Wine-specific: Retrieve DirectSound driver description*/
return
MMDRV_Message
(
mld
,
uMsg
,
dwParam1
,
dwParam2
);
default:
WARN
(
"Unknown call %04x
\n
"
,
uMsg
);
return
MMSYSERR_INVALPARAM
;
...
...
include/mmddk.h
View file @
1b21fe82
...
...
@@ -91,10 +91,6 @@ typedef struct {
#define DRV_QUERYIDFROMSTRINGID (DRV_RESERVED + 16)
#define DRV_QUERYFUNCTIONINSTANCEID (DRV_RESERVED + 17)
#define DRV_QUERYFUNCTIONINSTANCEIDSIZE (DRV_RESERVED + 18)
#ifdef __WINESRC__
#define DRV_QUERYDSOUNDIFACE (DRV_RESERVED + 20)
#define DRV_QUERYDSOUNDDESC (DRV_RESERVED + 21)
#endif
#define DRVM_MAPPER_PREFERRED_FLAGS_PREFERREDONLY 0x00000001
...
...
@@ -466,10 +462,6 @@ BOOL WINAPI mmTaskSignal(DWORD);
VOID
WINAPI
mmTaskYield
(
VOID
);
DWORD
WINAPI
mmGetCurrentTask
(
VOID
);
#ifdef __WINESRC__
#define WAVE_DIRECTSOUND 0x0080
#endif
#include <poppack.h>
#ifdef __cplusplus
...
...
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