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
f6da014c
Commit
f6da014c
authored
Jun 10, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmsynth: Make the virtual table functions static where possible.
parent
40feb043
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
19 deletions
+12
-19
dmsynth_private.h
dlls/dmsynth/dmsynth_private.h
+0
-7
synth.c
dlls/dmsynth/synth.c
+0
-0
synthsink.c
dlls/dmsynth/synthsink.c
+12
-12
No files found.
dlls/dmsynth/dmsynth_private.h
View file @
f6da014c
...
...
@@ -67,10 +67,6 @@ struct IDirectMusicSynth8Impl {
IDirectMusicSynthSinkImpl
*
pSynthSink
;
};
/* IUnknown: */
extern
HRESULT
WINAPI
IDirectMusicSynth8Impl_QueryInterface
(
LPDIRECTMUSICSYNTH8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
);
extern
ULONG
WINAPI
IDirectMusicSynth8Impl_AddRef
(
LPDIRECTMUSICSYNTH8
iface
);
/*****************************************************************************
* IDirectMusicSynthSinkImpl implementation structure
*/
...
...
@@ -82,9 +78,6 @@ struct IDirectMusicSynthSinkImpl {
/* IDirectMusicSynthSinkImpl fields */
};
/* IUnknown: */
extern
ULONG
WINAPI
IDirectMusicSynthSinkImpl_AddRef
(
LPDIRECTMUSICSYNTHSINK
iface
);
/**********************************************************************
* Dll lifetime tracking declaration for dmsynth.dll
*/
...
...
dlls/dmsynth/synth.c
View file @
f6da014c
This diff is collapsed.
Click to expand it.
dlls/dmsynth/synthsink.c
View file @
f6da014c
...
...
@@ -22,13 +22,13 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
dmsynth
);
/* IDirectMusicSynthSinkImpl IUnknown part: */
HRESULT
WINAPI
IDirectMusicSynthSinkImpl_QueryInterface
(
LPDIRECTMUSICSYNTHSINK
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicSynthSinkImpl_QueryInterface
(
LPDIRECTMUSICSYNTHSINK
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
IDirectMusicSynthSinkImpl
*
This
=
(
IDirectMusicSynthSinkImpl
*
)
iface
;
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
IsEqualIID
(
riid
,
&
IID_IDirectMusicSynthSink
))
{
I
DirectMusicSynthSinkImpl
_AddRef
(
iface
);
I
Unknown
_AddRef
(
iface
);
*
ppobj
=
This
;
return
S_OK
;
}
...
...
@@ -36,7 +36,7 @@ HRESULT WINAPI IDirectMusicSynthSinkImpl_QueryInterface (LPDIRECTMUSICSYNTHSINK
return
E_NOINTERFACE
;
}
ULONG
WINAPI
IDirectMusicSynthSinkImpl_AddRef
(
LPDIRECTMUSICSYNTHSINK
iface
)
{
static
ULONG
WINAPI
IDirectMusicSynthSinkImpl_AddRef
(
LPDIRECTMUSICSYNTHSINK
iface
)
{
IDirectMusicSynthSinkImpl
*
This
=
(
IDirectMusicSynthSinkImpl
*
)
iface
;
ULONG
refCount
=
InterlockedIncrement
(
&
This
->
ref
);
...
...
@@ -47,7 +47,7 @@ ULONG WINAPI IDirectMusicSynthSinkImpl_AddRef (LPDIRECTMUSICSYNTHSINK iface) {
return
refCount
;
}
ULONG
WINAPI
IDirectMusicSynthSinkImpl_Release
(
LPDIRECTMUSICSYNTHSINK
iface
)
{
static
ULONG
WINAPI
IDirectMusicSynthSinkImpl_Release
(
LPDIRECTMUSICSYNTHSINK
iface
)
{
IDirectMusicSynthSinkImpl
*
This
=
(
IDirectMusicSynthSinkImpl
*
)
iface
;
ULONG
refCount
=
InterlockedDecrement
(
&
This
->
ref
);
...
...
@@ -63,49 +63,49 @@ ULONG WINAPI IDirectMusicSynthSinkImpl_Release (LPDIRECTMUSICSYNTHSINK iface) {
}
/* IDirectMusicSynthSinkImpl IDirectMusicSynthSink part: */
HRESULT
WINAPI
IDirectMusicSynthSinkImpl_Init
(
LPDIRECTMUSICSYNTHSINK
iface
,
IDirectMusicSynth
*
pSynth
)
{
static
HRESULT
WINAPI
IDirectMusicSynthSinkImpl_Init
(
LPDIRECTMUSICSYNTHSINK
iface
,
IDirectMusicSynth
*
pSynth
)
{
IDirectMusicSynthSinkImpl
*
This
=
(
IDirectMusicSynthSinkImpl
*
)
iface
;
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pSynth
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSynthSinkImpl_SetMasterClock
(
LPDIRECTMUSICSYNTHSINK
iface
,
IReferenceClock
*
pClock
)
{
static
HRESULT
WINAPI
IDirectMusicSynthSinkImpl_SetMasterClock
(
LPDIRECTMUSICSYNTHSINK
iface
,
IReferenceClock
*
pClock
)
{
IDirectMusicSynthSinkImpl
*
This
=
(
IDirectMusicSynthSinkImpl
*
)
iface
;
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pClock
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSynthSinkImpl_GetLatencyClock
(
LPDIRECTMUSICSYNTHSINK
iface
,
IReferenceClock
**
ppClock
)
{
static
HRESULT
WINAPI
IDirectMusicSynthSinkImpl_GetLatencyClock
(
LPDIRECTMUSICSYNTHSINK
iface
,
IReferenceClock
**
ppClock
)
{
IDirectMusicSynthSinkImpl
*
This
=
(
IDirectMusicSynthSinkImpl
*
)
iface
;
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
ppClock
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSynthSinkImpl_Activate
(
LPDIRECTMUSICSYNTHSINK
iface
,
BOOL
fEnable
)
{
static
HRESULT
WINAPI
IDirectMusicSynthSinkImpl_Activate
(
LPDIRECTMUSICSYNTHSINK
iface
,
BOOL
fEnable
)
{
IDirectMusicSynthSinkImpl
*
This
=
(
IDirectMusicSynthSinkImpl
*
)
iface
;
FIXME
(
"(%p, %d): stub
\n
"
,
This
,
fEnable
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSynthSinkImpl_SampleToRefTime
(
LPDIRECTMUSICSYNTHSINK
iface
,
LONGLONG
llSampleTime
,
REFERENCE_TIME
*
prfTime
)
{
static
HRESULT
WINAPI
IDirectMusicSynthSinkImpl_SampleToRefTime
(
LPDIRECTMUSICSYNTHSINK
iface
,
LONGLONG
llSampleTime
,
REFERENCE_TIME
*
prfTime
)
{
IDirectMusicSynthSinkImpl
*
This
=
(
IDirectMusicSynthSinkImpl
*
)
iface
;
FIXME
(
"(%p, %lli, %p): stub
\n
"
,
This
,
llSampleTime
,
prfTime
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSynthSinkImpl_RefTimeToSample
(
LPDIRECTMUSICSYNTHSINK
iface
,
REFERENCE_TIME
rfTime
,
LONGLONG
*
pllSampleTime
)
{
static
HRESULT
WINAPI
IDirectMusicSynthSinkImpl_RefTimeToSample
(
LPDIRECTMUSICSYNTHSINK
iface
,
REFERENCE_TIME
rfTime
,
LONGLONG
*
pllSampleTime
)
{
IDirectMusicSynthSinkImpl
*
This
=
(
IDirectMusicSynthSinkImpl
*
)
iface
;
FIXME
(
"(%p, %lli, %p): stub
\n
"
,
This
,
rfTime
,
pllSampleTime
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSynthSinkImpl_SetDirectSound
(
LPDIRECTMUSICSYNTHSINK
iface
,
LPDIRECTSOUND
pDirectSound
,
LPDIRECTSOUNDBUFFER
pDirectSoundBuffer
)
{
static
HRESULT
WINAPI
IDirectMusicSynthSinkImpl_SetDirectSound
(
LPDIRECTMUSICSYNTHSINK
iface
,
LPDIRECTSOUND
pDirectSound
,
LPDIRECTSOUNDBUFFER
pDirectSoundBuffer
)
{
IDirectMusicSynthSinkImpl
*
This
=
(
IDirectMusicSynthSinkImpl
*
)
iface
;
FIXME
(
"(%p, %p, %p): stub
\n
"
,
This
,
pDirectSound
,
pDirectSoundBuffer
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicSynthSinkImpl_GetDesiredBufferSize
(
LPDIRECTMUSICSYNTHSINK
iface
,
LPDWORD
pdwBufferSizeInSamples
)
{
static
HRESULT
WINAPI
IDirectMusicSynthSinkImpl_GetDesiredBufferSize
(
LPDIRECTMUSICSYNTHSINK
iface
,
LPDWORD
pdwBufferSizeInSamples
)
{
IDirectMusicSynthSinkImpl
*
This
=
(
IDirectMusicSynthSinkImpl
*
)
iface
;
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pdwBufferSizeInSamples
);
return
S_OK
;
...
...
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