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
aafef7cd
Commit
aafef7cd
authored
May 27, 2010
by
Austin English
Committed by
Alexandre Julliard
May 28, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmusic: Use if(0) instead of #if 0 to make sure code still compiles.
parent
df9fda76
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
port.c
dlls/dmusic/port.c
+4
-2
No files found.
dlls/dmusic/port.c
View file @
aafef7cd
...
...
@@ -363,6 +363,7 @@ static const IDirectMusicThruVtbl DirectMusicThru_Vtbl = {
HRESULT
WINAPI
DMUSIC_CreateDirectMusicPortImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
,
LPDMUS_PORTPARAMS
pPortParams
,
LPDMUS_PORTCAPS
pPortCaps
)
{
IDirectMusicPortImpl
*
obj
;
HRESULT
hr
=
E_FAIL
;
UINT
j
;
TRACE
(
"(%p,%p,%p)
\n
"
,
lpcGUID
,
ppobj
,
pUnkOuter
);
...
...
@@ -382,7 +383,8 @@ HRESULT WINAPI DMUSIC_CreateDirectMusicPortImpl (LPCGUID lpcGUID, LPVOID *ppobj,
obj
->
pLatencyClock
=
NULL
;
hr
=
DMUSIC_CreateReferenceClockImpl
(
&
IID_IReferenceClock
,
(
LPVOID
*
)
&
obj
->
pLatencyClock
,
NULL
);
#if 0
if
(
0
)
{
if
(
pPortParams
->
dwValidParams
&
DMUS_PORTPARAMS_CHANNELGROUPS
)
{
obj
->
nrofgroups
=
pPortParams
->
dwChannelGroups
;
/* setting default priorities */
...
...
@@ -406,7 +408,7 @@ HRESULT WINAPI DMUSIC_CreateDirectMusicPortImpl (LPCGUID lpcGUID, LPVOID *ppobj,
obj
->
group
[
j
].
channel
[
15
].
priority
=
DAUD_CHAN16_DEF_VOICE_PRIORITY
;
}
}
#endif
}
return
IDirectMusicPortImpl_QueryInterface
((
LPDIRECTMUSICPORT
)
obj
,
lpcGUID
,
ppobj
);
}
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