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
68b35614
Commit
68b35614
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 IDirectMusicSynthImpl struct to where it is used.
parent
1f990e59
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
20 deletions
+16
-20
dmsynth_private.h
dlls/dmsynth/dmsynth_private.h
+0
-20
synth.c
dlls/dmsynth/synth.c
+16
-0
No files found.
dlls/dmsynth/dmsynth_private.h
View file @
68b35614
...
...
@@ -41,32 +41,12 @@
#include "dmksctrl.h"
/*****************************************************************************
* Interfaces
*/
typedef
struct
IDirectMusicSynth8Impl
IDirectMusicSynth8Impl
;
/*****************************************************************************
* ClassFactory
*/
extern
HRESULT
DMUSIC_CreateDirectMusicSynthImpl
(
REFIID
riid
,
void
**
ppobj
);
extern
HRESULT
DMUSIC_CreateDirectMusicSynthSinkImpl
(
REFIID
riid
,
void
**
ppobj
);
/*****************************************************************************
* IDirectMusicSynth8Impl implementation structure
*/
struct
IDirectMusicSynth8Impl
{
IDirectMusicSynth8
IDirectMusicSynth8_iface
;
IKsControl
IKsControl_iface
;
LONG
ref
;
DMUS_PORTCAPS
caps
;
DMUS_PORTPARAMS
params
;
BOOL
active
;
BOOL
open
;
IReferenceClock
*
latency_clock
;
IDirectMusicSynthSink
*
sink
;
};
/*****************************************************************************
* Misc.
*/
/* used for generic dumping (copied from ddraw) */
...
...
dlls/dmsynth/synth.c
View file @
68b35614
...
...
@@ -28,6 +28,22 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
dmsynth
);
typedef
struct
IDirectMusicSynth8Impl
IDirectMusicSynth8Impl
;
struct
IDirectMusicSynth8Impl
{
IDirectMusicSynth8
IDirectMusicSynth8_iface
;
IKsControl
IKsControl_iface
;
LONG
ref
;
DMUS_PORTCAPS
caps
;
DMUS_PORTPARAMS
params
;
BOOL
active
;
BOOL
open
;
IReferenceClock
*
latency_clock
;
IDirectMusicSynthSink
*
sink
;
};
static
inline
IDirectMusicSynth8Impl
*
impl_from_IDirectMusicSynth8
(
IDirectMusicSynth8
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
IDirectMusicSynth8Impl
,
IDirectMusicSynth8_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