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
4dd5893a
Commit
4dd5893a
authored
Oct 14, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound/tests: Compile with -D__WINESRC__.
parent
edf4dab5
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
9 additions
and
9 deletions
+9
-9
Makefile.in
dlls/dsound/tests/Makefile.in
+0
-1
capture.c
dlls/dsound/tests/capture.c
+2
-2
ds3d.c
dlls/dsound/tests/ds3d.c
+1
-1
ds3d8.c
dlls/dsound/tests/ds3d8.c
+1
-1
dsound.c
dlls/dsound/tests/dsound.c
+2
-2
dsound8.c
dlls/dsound/tests/dsound8.c
+1
-1
duplex.c
dlls/dsound/tests/duplex.c
+1
-1
propset.c
dlls/dsound/tests/propset.c
+1
-0
No files found.
dlls/dsound/tests/Makefile.in
View file @
4dd5893a
TESTDLL
=
dsound.dll
IMPORTS
=
ole32 version user32
EXTRADEFS
=
-U__WINESRC__
-DWINE_STRICT_PROTOTYPES
-DWINE_NO_NAMELESS_EXTENSION
-DWIDL_C_INLINE_WRAPPERS
C_SRCS
=
\
capture.c
\
...
...
dlls/dsound/tests/capture.c
View file @
4dd5893a
...
...
@@ -24,8 +24,8 @@
#include "initguid.h"
#include "windows.h"
#include "wine/test.h"
#include "mmsystem.h"
#include "dsound.h"
#include "mmreg.h"
#include "dsconf.h"
#include "dsound_test.h"
...
...
@@ -373,7 +373,7 @@ static void test_capture_buffer(LPDIRECTSOUNDCAPTURE dsco,
state
.
wfx
=&
wfx
;
state
.
buffer_size
=
dscbcaps
.
dwBufferBytes
;
for
(
i
=
0
;
i
<
NOTIFICATIONS
;
i
++
)
state
.
event
[
i
]
=
CreateEvent
(
NULL
,
FALSE
,
FALSE
,
NULL
);
state
.
event
[
i
]
=
CreateEventW
(
NULL
,
FALSE
,
FALSE
,
NULL
);
state
.
size
=
dscbcaps
.
dwBufferBytes
/
NOTIFICATIONS
;
rc
=
IDirectSoundCaptureBuffer_QueryInterface
(
dscbo
,
&
IID_IDirectSoundNotify
,
...
...
dlls/dsound/tests/ds3d.c
View file @
4dd5893a
...
...
@@ -28,8 +28,8 @@
#include <math.h>
#include "wine/test.h"
#include "mmsystem.h"
#include "dsound.h"
#include "mmreg.h"
#include "ks.h"
#include "ksmedia.h"
#include "dsound_test.h"
...
...
dlls/dsound/tests/ds3d8.c
View file @
4dd5893a
...
...
@@ -28,8 +28,8 @@
#include <math.h>
#include "wine/test.h"
#include "mmsystem.h"
#include "dsound.h"
#include "mmreg.h"
#include "ks.h"
#include "ksmedia.h"
#include "dsound_test.h"
...
...
dlls/dsound/tests/dsound.c
View file @
4dd5893a
...
...
@@ -29,9 +29,9 @@
#include <windows.h>
#include "wine/test.h"
#include "mmsystem.h"
#include "dsound.h"
#include "dsconf.h"
#include "mmreg.h"
#include "initguid.h"
#include "ks.h"
#include "ksmedia.h"
...
...
@@ -1135,7 +1135,7 @@ static HRESULT test_duplicate(LPGUID lpGuid)
/* Prepare notify events */
for
(
i
=
0
;
i
<
sizeof
(
event
)
/
sizeof
(
event
[
0
]);
i
++
)
{
event
[
i
]
=
CreateEvent
(
NULL
,
FALSE
,
FALSE
,
NULL
);
event
[
i
]
=
CreateEvent
W
(
NULL
,
FALSE
,
FALSE
,
NULL
);
}
/* Make silent buffer */
...
...
dlls/dsound/tests/dsound8.c
View file @
4dd5893a
...
...
@@ -31,9 +31,9 @@
#include <stdio.h>
#include "wine/test.h"
#include "mmsystem.h"
#include "dsound.h"
#include "dsconf.h"
#include "mmreg.h"
#include "ks.h"
#include "ksmedia.h"
...
...
dlls/dsound/tests/duplex.c
View file @
4dd5893a
...
...
@@ -23,8 +23,8 @@
#include <stdio.h>
#include "wine/test.h"
#include "mmsystem.h"
#include "dsound.h"
#include "mmreg.h"
#include "dsconf.h"
#include "dsound_test.h"
...
...
dlls/dsound/tests/propset.c
View file @
4dd5893a
...
...
@@ -23,6 +23,7 @@
#include <windows.h>
#include "wine/test.h"
#include "mmsystem.h"
#include "dsound.h"
#include "dsconf.h"
...
...
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