dmime: Move struct IDirectMusicPerformance8Impl to the c file.

This commit is contained in:
Michael Stefaniuc 2012-04-02 00:08:57 +02:00 committed by Alexandre Julliard
parent 2259da712e
commit a84245463a
2 changed files with 32 additions and 42 deletions

View File

@ -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
*/

View File

@ -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;