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

dmsynth: Move IDirectMusicSynthImpl struct to where it is used.

parent 1f990e59
......@@ -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) */
......
......@@ -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);
......
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