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
698605ce
Commit
698605ce
authored
Sep 04, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Sep 11, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmime: Fix indentation in DirectMusicPerformance class constructor.
parent
2dc15d39
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
16 deletions
+20
-16
performance.c
dlls/dmime/performance.c
+20
-16
No files found.
dlls/dmime/performance.c
View file @
698605ce
...
...
@@ -1275,24 +1275,28 @@ static const IDirectMusicPerformance8Vtbl DirectMusicPerformance8_Vtbl = {
};
/* for ClassFactory */
HRESULT
create_dmperformance
(
REFIID
lpcGUID
,
void
**
ppobj
)
HRESULT
create_dmperformance
(
REFIID
iid
,
void
**
ret_iface
)
{
IDirectMusicPerformance8Impl
*
obj
;
IDirectMusicPerformance8Impl
*
obj
;
HRESULT
hr
;
TRACE
(
"(%s, %p)
\n
"
,
debugstr_guid
(
lpcGUID
),
ppobj
);
TRACE
(
"(%s, %p)
\n
"
,
debugstr_guid
(
iid
),
ret_iface
);
*
ppobj
=
NULL
;
*
ret_iface
=
NULL
;
if
(
!
(
obj
=
calloc
(
1
,
sizeof
(
*
obj
))))
return
E_OUTOFMEMORY
;
obj
->
IDirectMusicPerformance8_iface
.
lpVtbl
=
&
DirectMusicPerformance8_Vtbl
;
obj
->
ref
=
0
;
/* will be inited by QueryInterface */
obj
->
pDefaultPath
=
NULL
;
InitializeCriticalSection
(
&
obj
->
safe
);
obj
->
safe
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": IDirectMusicPerformance8Impl*->safe"
);
wine_rb_init
(
&
obj
->
pchannels
,
pchannel_block_compare
);
obj
->
rtLatencyTime
=
100
;
/* 100 ms TO FIX */
obj
->
dwBumperLength
=
50
;
/* 50 ms default */
obj
->
dwPrepareTime
=
1000
;
/* 1000 ms default */
return
IDirectMusicPerformance8Impl_QueryInterface
(
&
obj
->
IDirectMusicPerformance8_iface
,
lpcGUID
,
ppobj
);
obj
->
IDirectMusicPerformance8_iface
.
lpVtbl
=
&
DirectMusicPerformance8_Vtbl
;
obj
->
ref
=
1
;
obj
->
pDefaultPath
=
NULL
;
InitializeCriticalSection
(
&
obj
->
safe
);
obj
->
safe
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": IDirectMusicPerformance8Impl*->safe"
);
wine_rb_init
(
&
obj
->
pchannels
,
pchannel_block_compare
);
obj
->
rtLatencyTime
=
100
;
/* 100 ms TO FIX */
obj
->
dwBumperLength
=
50
;
/* 50 ms default */
obj
->
dwPrepareTime
=
1000
;
/* 1000 ms default */
hr
=
IDirectMusicPerformance8_QueryInterface
(
&
obj
->
IDirectMusicPerformance8_iface
,
iid
,
ret_iface
);
IDirectMusicPerformance_Release
(
&
obj
->
IDirectMusicPerformance8_iface
);
return
hr
;
}
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