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
da256c44
Commit
da256c44
authored
Aug 18, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Sep 04, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmsynth: Move IDirectMusicSynthSinkImpl struct to where it is used.
parent
3b5160c9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
dmsynth_private.h
dlls/dmsynth/dmsynth_private.h
+0
-14
synthsink.c
dlls/dmsynth/synthsink.c
+14
-0
No files found.
dlls/dmsynth/dmsynth_private.h
View file @
da256c44
...
...
@@ -44,7 +44,6 @@
* Interfaces
*/
typedef
struct
IDirectMusicSynth8Impl
IDirectMusicSynth8Impl
;
typedef
struct
IDirectMusicSynthSinkImpl
IDirectMusicSynthSinkImpl
;
/*****************************************************************************
* ClassFactory
...
...
@@ -68,19 +67,6 @@ struct IDirectMusicSynth8Impl {
};
/*****************************************************************************
* IDirectMusicSynthSinkImpl implementation structure
*/
struct
IDirectMusicSynthSinkImpl
{
IDirectMusicSynthSink
IDirectMusicSynthSink_iface
;
IKsControl
IKsControl_iface
;
LONG
ref
;
IReferenceClock
*
latency_clock
;
IReferenceClock
*
master_clock
;
IDirectMusicSynth
*
synth
;
/* No reference hold! */
BOOL
active
;
};
/*****************************************************************************
* Misc.
*/
/* used for generic dumping (copied from ddraw) */
...
...
dlls/dmsynth/synthsink.c
View file @
da256c44
...
...
@@ -25,6 +25,20 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
dmsynth
);
typedef
struct
IDirectMusicSynthSinkImpl
IDirectMusicSynthSinkImpl
;
struct
IDirectMusicSynthSinkImpl
{
IDirectMusicSynthSink
IDirectMusicSynthSink_iface
;
IKsControl
IKsControl_iface
;
LONG
ref
;
IReferenceClock
*
latency_clock
;
IReferenceClock
*
master_clock
;
IDirectMusicSynth
*
synth
;
/* No reference hold! */
BOOL
active
;
};
static
inline
IDirectMusicSynthSinkImpl
*
impl_from_IDirectMusicSynthSink
(
IDirectMusicSynthSink
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
IDirectMusicSynthSinkImpl
,
IDirectMusicSynthSink_iface
);
...
...
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