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
3fef1be5
Commit
3fef1be5
authored
Jan 10, 2014
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmloader/tests: Fix a crash due to a missing audio driver.
parent
03d5b124
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
loader.c
dlls/dmloader/tests/loader.c
+4
-0
No files found.
dlls/dmloader/tests/loader.c
View file @
3fef1be5
...
...
@@ -73,6 +73,10 @@ static void test_simple_playing(void)
hr
=
IDirectMusicPerformance8_InitAudio
(
perf
,
&
music
,
&
dsound
,
NULL
,
DMUS_APATH_DYNAMIC_STEREO
,
64
,
DMUS_AUDIOF_ALL
,
NULL
);
if
(
hr
==
DSERR_NODRIVER
)
{
skip
(
"No audio driver.
\n
"
);
return
;
}
ok
(
hr
==
S_OK
,
"InitAudio failed: %08x
\n
"
,
hr
);
ok
(
music
!=
NULL
,
"Didn't get IDirectMusic pointer
\n
"
);
ok
(
dsound
!=
NULL
,
"Didn't get IDirectSound pointer
\n
"
);
...
...
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