diff --git a/dlls/dmime/dmime_private.h b/dlls/dmime/dmime_private.h index 95c33246d1..de6533d0ee 100644 --- a/dlls/dmime/dmime_private.h +++ b/dlls/dmime/dmime_private.h @@ -46,7 +46,6 @@ /***************************************************************************** * Interfaces */ -typedef struct IDirectMusicPerformance8Impl IDirectMusicPerformance8Impl; typedef struct IDirectMusicSegment8Impl IDirectMusicSegment8Impl; typedef struct IDirectMusicSegmentState8Impl IDirectMusicSegmentState8Impl; typedef struct IDirectMusicGraphImpl IDirectMusicGraphImpl; @@ -123,47 +122,6 @@ typedef struct DMUSIC_PRIVATE_PCHANNEL_ { IDirectMusicPort *port; /* ... at this port */ } DMUSIC_PRIVATE_PCHANNEL, *LPDMUSIC_PRIVATE_PCHANNEL; -/***************************************************************************** - * IDirectMusicPerformance8Impl implementation structure - */ -struct IDirectMusicPerformance8Impl { - /* IUnknown fields */ - IDirectMusicPerformance8 IDirectMusicPerformance8_iface; - LONG ref; - - /* IDirectMusicPerformanceImpl fields */ - IDirectMusic8* pDirectMusic; - IDirectSound* pDirectSound; - IDirectMusicGraph* pToolGraph; - DMUS_AUDIOPARAMS pParams; - - /* global parameters */ - BOOL fAutoDownload; - char cMasterGrooveLevel; - float fMasterTempo; - long lMasterVolume; - - /* performance channels */ - DMUSIC_PRIVATE_PCHANNEL PChannel[32]; - - /* IDirectMusicPerformance8Impl fields */ - IDirectMusicAudioPath* pDefaultPath; - HANDLE hNotification; - REFERENCE_TIME rtMinimum; - - REFERENCE_TIME rtLatencyTime; - DWORD dwBumperLength; - DWORD dwPrepareTime; - /** Message Processing */ - HANDLE procThread; - DWORD procThreadId; - REFERENCE_TIME procThreadStartTime; - BOOL procThreadTicStarted; - CRITICAL_SECTION safe; - struct DMUS_PMSGItem* head; - struct DMUS_PMSGItem* imm_head; -}; - /***************************************************************************** * IDirectMusicSegment8Impl implementation structure */ diff --git a/dlls/dmime/performance.c b/dlls/dmime/performance.c index dac4a424cf..bc44fa5779 100644 --- a/dlls/dmime/performance.c +++ b/dlls/dmime/performance.c @@ -22,6 +22,38 @@ WINE_DEFAULT_DEBUG_CHANNEL(dmime); +typedef struct IDirectMusicPerformance8Impl { + IDirectMusicPerformance8 IDirectMusicPerformance8_iface; + LONG ref; + /* IDirectMusicPerformanceImpl fields */ + IDirectMusic8 *pDirectMusic; + IDirectSound *pDirectSound; + IDirectMusicGraph *pToolGraph; + DMUS_AUDIOPARAMS pParams; + /* global parameters */ + BOOL fAutoDownload; + char cMasterGrooveLevel; + float fMasterTempo; + long lMasterVolume; + /* performance channels */ + DMUSIC_PRIVATE_PCHANNEL PChannel[32]; + /* IDirectMusicPerformance8Impl fields */ + IDirectMusicAudioPath *pDefaultPath; + HANDLE hNotification; + REFERENCE_TIME rtMinimum; + REFERENCE_TIME rtLatencyTime; + DWORD dwBumperLength; + DWORD dwPrepareTime; + /** Message Processing */ + HANDLE procThread; + DWORD procThreadId; + REFERENCE_TIME procThreadStartTime; + BOOL procThreadTicStarted; + CRITICAL_SECTION safe; + struct DMUS_PMSGItem *head; + struct DMUS_PMSGItem *imm_head; +} IDirectMusicPerformance8Impl; + typedef struct DMUS_PMSGItem DMUS_PMSGItem; struct DMUS_PMSGItem { DMUS_PMSGItem* next;