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
649a1770
Commit
649a1770
authored
Sep 16, 2012
by
Christian Costa
Committed by
Alexandre Julliard
Sep 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmusic: Rename params in GetMasterClock.
parent
8c07215f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
21 deletions
+22
-21
dmusic.c
dlls/dmusic/dmusic.c
+22
-21
No files found.
dlls/dmusic/dmusic.c
View file @
649a1770
...
@@ -270,17 +270,18 @@ static HRESULT WINAPI IDirectMusic8Impl_EnumMasterClock(LPDIRECTMUSIC8 iface, DW
...
@@ -270,17 +270,18 @@ static HRESULT WINAPI IDirectMusic8Impl_EnumMasterClock(LPDIRECTMUSIC8 iface, DW
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IDirectMusic8Impl_GetMasterClock
(
LPDIRECTMUSIC8
iface
,
LPGUID
pguidClock
,
IReferenceClock
**
ppReferenceC
lock
)
static
HRESULT
WINAPI
IDirectMusic8Impl_GetMasterClock
(
LPDIRECTMUSIC8
iface
,
LPGUID
guid_clock
,
IReferenceClock
**
reference_c
lock
)
{
{
IDirectMusic8Impl
*
This
=
impl_from_IDirectMusic8
(
iface
);
IDirectMusic8Impl
*
This
=
impl_from_IDirectMusic8
(
iface
);
TRACE
(
"(%p, %p, %p)
\n
"
,
This
,
pguidClock
,
ppReferenceClock
);
TRACE
(
"(%p)->(%p, %p)
\n
"
,
This
,
guid_clock
,
reference_clock
);
if
(
pguidClock
)
*
pguidClock
=
This
->
pMasterClock
->
pClockInfo
.
guidClock
;
if
(
ppReferenceClock
)
*
ppReferenceClock
=
(
IReferenceClock
*
)
This
->
pMasterClock
;
return
S_OK
;
if
(
guid_clock
)
*
guid_clock
=
This
->
pMasterClock
->
pClockInfo
.
guidClock
;
if
(
reference_clock
)
*
reference_clock
=
(
IReferenceClock
*
)
This
->
pMasterClock
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IDirectMusic8Impl_SetMasterClock
(
LPDIRECTMUSIC8
iface
,
REFGUID
rguidClock
)
static
HRESULT
WINAPI
IDirectMusic8Impl_SetMasterClock
(
LPDIRECTMUSIC8
iface
,
REFGUID
rguidClock
)
...
@@ -354,19 +355,19 @@ static HRESULT WINAPI IDirectMusic8Impl_SetExternalMasterClock(LPDIRECTMUSIC8 if
...
@@ -354,19 +355,19 @@ static HRESULT WINAPI IDirectMusic8Impl_SetExternalMasterClock(LPDIRECTMUSIC8 if
}
}
static
const
IDirectMusic8Vtbl
DirectMusic8_Vtbl
=
{
static
const
IDirectMusic8Vtbl
DirectMusic8_Vtbl
=
{
IDirectMusic8Impl_QueryInterface
,
IDirectMusic8Impl_QueryInterface
,
IDirectMusic8Impl_AddRef
,
IDirectMusic8Impl_AddRef
,
IDirectMusic8Impl_Release
,
IDirectMusic8Impl_Release
,
IDirectMusic8Impl_EnumPort
,
IDirectMusic8Impl_EnumPort
,
IDirectMusic8Impl_CreateMusicBuffer
,
IDirectMusic8Impl_CreateMusicBuffer
,
IDirectMusic8Impl_CreatePort
,
IDirectMusic8Impl_CreatePort
,
IDirectMusic8Impl_EnumMasterClock
,
IDirectMusic8Impl_EnumMasterClock
,
IDirectMusic8Impl_GetMasterClock
,
IDirectMusic8Impl_GetMasterClock
,
IDirectMusic8Impl_SetMasterClock
,
IDirectMusic8Impl_SetMasterClock
,
IDirectMusic8Impl_Activate
,
IDirectMusic8Impl_Activate
,
IDirectMusic8Impl_GetDefaultPort
,
IDirectMusic8Impl_GetDefaultPort
,
IDirectMusic8Impl_SetDirectSound
,
IDirectMusic8Impl_SetDirectSound
,
IDirectMusic8Impl_SetExternalMasterClock
IDirectMusic8Impl_SetExternalMasterClock
};
};
/* For ClassFactory */
/* For ClassFactory */
...
...
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