Commit da256c44 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

dmsynth: Move IDirectMusicSynthSinkImpl struct to where it is used.

parent 3b5160c9
......@@ -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) */
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment