typedef struct IDirectMusicInstrumentImpl IDirectMusicInstrumentImpl;
-typedef struct SynthPortImpl SynthPortImpl;
-
/*****************************************************************************
* Some stuff to make my life easier :=)
*/
/* IDirectMusicDownloadImpl fields */
};
-/*****************************************************************************
- * SynthPortImpl implementation structure
- */
-struct SynthPortImpl {
- /* IUnknown fields */
- IDirectMusicPort IDirectMusicPort_iface;
- IDirectMusicPortDownload IDirectMusicPortDownload_iface;
- IDirectMusicThru IDirectMusicThru_iface;
- IKsControl IKsControl_iface;
- LONG ref;
-
- /* IDirectMusicPort fields */
- IDirectSound* pDirectSound;
- IReferenceClock* pLatencyClock;
- IDirectMusicSynth* synth;
- IDirectMusicSynthSink* synth_sink;
- BOOL fActive;
- DMUS_PORTCAPS caps;
- DMUS_PORTPARAMS params;
- int nrofgroups;
- DMUSIC_PRIVATE_CHANNEL_GROUP group[1];
-};
-
/** Internal factory */
extern HRESULT DMUSIC_CreateSynthPortImpl(LPCGUID guid, LPVOID *object, LPUNKNOWN unkouter, LPDMUS_PORTPARAMS port_params, LPDMUS_PORTCAPS port_caps, DWORD device) DECLSPEC_HIDDEN;
extern HRESULT DMUSIC_CreateMidiOutPortImpl(LPCGUID guid, LPVOID *object, LPUNKNOWN unkouter, LPDMUS_PORTPARAMS port_params, LPDMUS_PORTCAPS port_caps, DWORD device) DECLSPEC_HIDDEN;