1*c2c66affSColin Finck /*
2*c2c66affSColin Finck * DirectMusic Software Synth Definitions
3*c2c66affSColin Finck *
4*c2c66affSColin Finck * Copyright (C) 2003-2004 Rok Mandeljc
5*c2c66affSColin Finck *
6*c2c66affSColin Finck * This program is free software; you can redistribute it and/or
7*c2c66affSColin Finck * modify it under the terms of the GNU Lesser General Public
8*c2c66affSColin Finck * License as published by the Free Software Foundation; either
9*c2c66affSColin Finck * version 2.1 of the License, or (at your option) any later version.
10*c2c66affSColin Finck *
11*c2c66affSColin Finck * This program is distributed in the hope that it will be useful,
12*c2c66affSColin Finck * but WITHOUT ANY WARRANTY; without even the implied warranty of
13*c2c66affSColin Finck * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14*c2c66affSColin Finck * Lesser General Public License for more details.
15*c2c66affSColin Finck *
16*c2c66affSColin Finck * You should have received a copy of the GNU Lesser General Public
17*c2c66affSColin Finck * License along with this program; if not, write to the Free Software
18*c2c66affSColin Finck * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19*c2c66affSColin Finck */
20*c2c66affSColin Finck
21*c2c66affSColin Finck #ifndef __WINE_DMUSIC_SOFTWARESYNTH_H
22*c2c66affSColin Finck #define __WINE_DMUSIC_SOFTWARESYNTH_H
23*c2c66affSColin Finck
24*c2c66affSColin Finck #include <dmusicc.h>
25*c2c66affSColin Finck
26*c2c66affSColin Finck /*****************************************************************************
27*c2c66affSColin Finck * Registry path
28*c2c66affSColin Finck */
29*c2c66affSColin Finck #define REGSTR_PATH_SOFTWARESYNTHS "Software\\Microsoft\\DirectMusic\\SoftwareSynths"
30*c2c66affSColin Finck
31*c2c66affSColin Finck
32*c2c66affSColin Finck /*****************************************************************************
33*c2c66affSColin Finck * Predeclare the interfaces
34*c2c66affSColin Finck */
35*c2c66affSColin Finck /* IIDs */
36*c2c66affSColin Finck DEFINE_GUID(IID_IDirectMusicSynth, 0x09823661,0x5c85,0x11d2,0xaf,0xa6,0x00,0xaa,0x00,0x24,0xd8,0xb6);
37*c2c66affSColin Finck DEFINE_GUID(IID_IDirectMusicSynth8, 0x53cab625,0x2711,0x4c9f,0x9d,0xe7,0x1b,0x7f,0x92,0x5f,0x6f,0xc8);
38*c2c66affSColin Finck DEFINE_GUID(IID_IDirectMusicSynthSink, 0x09823663,0x5c85,0x11d2,0xaf,0xa6,0x00,0xaa,0x00,0x24,0xd8,0xb6);
39*c2c66affSColin Finck
40*c2c66affSColin Finck /* typedef definitions */
41*c2c66affSColin Finck typedef struct IDirectMusicSynth *LPDIRECTMUSICSYNTH;
42*c2c66affSColin Finck typedef struct IDirectMusicSynth8 *LPDIRECTMUSICSYNTH8;
43*c2c66affSColin Finck typedef struct IDirectMusicSynthSink *LPDIRECTMUSICSYNTHSINK;
44*c2c66affSColin Finck
45*c2c66affSColin Finck /* GUIDs - property set */
46*c2c66affSColin Finck DEFINE_GUID(GUID_DMUS_PROP_SetSynthSink, 0x0a3a5ba5,0x37b6,0x11d2,0xb9,0xf9,0x00,0x00,0xf8,0x75,0xac,0x12);
47*c2c66affSColin Finck DEFINE_GUID(GUID_DMUS_PROP_SinkUsesDSound, 0xbe208857,0x8952,0x11d2,0xba,0x1c,0x00,0x00,0xf8,0x75,0xac,0x12);
48*c2c66affSColin Finck
49*c2c66affSColin Finck
50*c2c66affSColin Finck /*****************************************************************************
51*c2c66affSColin Finck * Flags
52*c2c66affSColin Finck */
53*c2c66affSColin Finck #define REFRESH_F_LASTBUFFER 0x1
54*c2c66affSColin Finck
55*c2c66affSColin Finck
56*c2c66affSColin Finck /*****************************************************************************
57*c2c66affSColin Finck * Structures
58*c2c66affSColin Finck */
59*c2c66affSColin Finck #ifndef _DMUS_VOICE_STATE_DEFINED
60*c2c66affSColin Finck #define _DMUS_VOICE_STATE_DEFINED
61*c2c66affSColin Finck
62*c2c66affSColin Finck /* typedef definition */
63*c2c66affSColin Finck typedef struct _DMUS_VOICE_STATE DMUS_VOICE_STATE, *LPDMUS_VOICE_STATE;
64*c2c66affSColin Finck
65*c2c66affSColin Finck /* actual structure */
66*c2c66affSColin Finck struct _DMUS_VOICE_STATE {
67*c2c66affSColin Finck BOOL bExists;
68*c2c66affSColin Finck SAMPLE_POSITION spPosition;
69*c2c66affSColin Finck };
70*c2c66affSColin Finck #endif /* _DMUS_VOICE_STATE_DEFINED */
71*c2c66affSColin Finck
72*c2c66affSColin Finck
73*c2c66affSColin Finck /*****************************************************************************
74*c2c66affSColin Finck * IDirectMusicSynth interface
75*c2c66affSColin Finck */
76*c2c66affSColin Finck #define INTERFACE IDirectMusicSynth
DECLARE_INTERFACE_(IDirectMusicSynth,IUnknown)77*c2c66affSColin Finck DECLARE_INTERFACE_(IDirectMusicSynth,IUnknown)
78*c2c66affSColin Finck {
79*c2c66affSColin Finck /*** IUnknown methods ***/
80*c2c66affSColin Finck STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
81*c2c66affSColin Finck STDMETHOD_(ULONG,AddRef)(THIS) PURE;
82*c2c66affSColin Finck STDMETHOD_(ULONG,Release)(THIS) PURE;
83*c2c66affSColin Finck /*** IDirectMusicSynth methods ***/
84*c2c66affSColin Finck STDMETHOD(Open)(THIS_ LPDMUS_PORTPARAMS pPortParams) PURE;
85*c2c66affSColin Finck STDMETHOD(Close)(THIS) PURE;
86*c2c66affSColin Finck STDMETHOD(SetNumChannelGroups)(THIS_ DWORD dwGroups) PURE;
87*c2c66affSColin Finck STDMETHOD(Download)(THIS_ LPHANDLE phDownload, LPVOID pvData, LPBOOL pbFree) PURE;
88*c2c66affSColin Finck STDMETHOD(Unload)(THIS_ HANDLE hDownload, HRESULT (CALLBACK* lpFreeHandle)(HANDLE,HANDLE), HANDLE hUserData) PURE;
89*c2c66affSColin Finck STDMETHOD(PlayBuffer)(THIS_ REFERENCE_TIME rt, LPBYTE pbBuffer, DWORD cbBuffer) PURE;
90*c2c66affSColin Finck STDMETHOD(GetRunningStats)(THIS_ LPDMUS_SYNTHSTATS pStats) PURE;
91*c2c66affSColin Finck STDMETHOD(GetPortCaps)(THIS_ LPDMUS_PORTCAPS pCaps) PURE;
92*c2c66affSColin Finck STDMETHOD(SetMasterClock)(THIS_ IReferenceClock *pClock) PURE;
93*c2c66affSColin Finck STDMETHOD(GetLatencyClock)(THIS_ IReferenceClock **ppClock) PURE;
94*c2c66affSColin Finck STDMETHOD(Activate)(THIS_ BOOL fEnable) PURE;
95*c2c66affSColin Finck STDMETHOD(SetSynthSink)(THIS_ struct IDirectMusicSynthSink *pSynthSink) PURE;
96*c2c66affSColin Finck STDMETHOD(Render)(THIS_ short *pBuffer, DWORD dwLength, LONGLONG llPosition) PURE;
97*c2c66affSColin Finck STDMETHOD(SetChannelPriority)(THIS_ DWORD dwChannelGroup, DWORD dwChannel, DWORD dwPriority) PURE;
98*c2c66affSColin Finck STDMETHOD(GetChannelPriority)(THIS_ DWORD dwChannelGroup, DWORD dwChannel, LPDWORD pdwPriority) PURE;
99*c2c66affSColin Finck STDMETHOD(GetFormat)(THIS_ LPWAVEFORMATEX pWaveFormatEx, LPDWORD pdwWaveFormatExSiz) PURE;
100*c2c66affSColin Finck STDMETHOD(GetAppend)(THIS_ DWORD *pdwAppend) PURE;
101*c2c66affSColin Finck };
102*c2c66affSColin Finck #undef INTERFACE
103*c2c66affSColin Finck
104*c2c66affSColin Finck #if !defined(__cplusplus) || defined(CINTERFACE)
105*c2c66affSColin Finck /*** IUnknown methods ***/
106*c2c66affSColin Finck #define IDirectMusicSynth_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
107*c2c66affSColin Finck #define IDirectMusicSynth_AddRef(p) (p)->lpVtbl->AddRef(p)
108*c2c66affSColin Finck #define IDirectMusicSynth_Release(p) (p)->lpVtbl->Release(p)
109*c2c66affSColin Finck /*** IDirectMusicSynth methods ***/
110*c2c66affSColin Finck #define IDirectMusicSynth_Open(p,a) (p)->lpVtbl->Open(p,a)
111*c2c66affSColin Finck #define IDirectMusicSynth_Close(p) (p)->lpVtbl->Close(p)
112*c2c66affSColin Finck #define IDirectMusicSynth_SetNumChannelGroups(p,a) (p)->lpVtbl->SetNumChannelGroups(p,a)
113*c2c66affSColin Finck #define IDirectMusicSynth_Download(p,a,b,c) (p)->lpVtbl->Download(p,a,b,c)
114*c2c66affSColin Finck #define IDirectMusicSynth_Unload(p,a,b,c) (p)->lpVtbl->Unload(p,a,b,c)
115*c2c66affSColin Finck #define IDirectMusicSynth_PlayBuffer(p,a,b,c) (p)->lpVtbl->PlayBuffer(p,a,b,c)
116*c2c66affSColin Finck #define IDirectMusicSynth_GetRunningStats(p,a) (p)->lpVtbl->GetRunningStats(p,a)
117*c2c66affSColin Finck #define IDirectMusicSynth_GetPortCaps(p,a) (p)->lpVtbl->GetPortCaps(p,a)
118*c2c66affSColin Finck #define IDirectMusicSynth_SetMasterClock(p,a) (p)->lpVtbl->SetMasterClock(p,a)
119*c2c66affSColin Finck #define IDirectMusicSynth_GetLatencyClock(p,a) (p)->lpVtbl->GetLatencyClock(p,a)
120*c2c66affSColin Finck #define IDirectMusicSynth_Activate(p,a) (p)->lpVtbl->Activate(p,a)
121*c2c66affSColin Finck #define IDirectMusicSynth_SetSynthSink(p,a) (p)->lpVtbl->SetSynthSink(p,a)
122*c2c66affSColin Finck #define IDirectMusicSynth_Render(p,a,b,c) (p)->lpVtbl->Render(p,a,b,c)
123*c2c66affSColin Finck #define IDirectMusicSynth_SetChannelPriority(p,a,b,c) (p)->lpVtbl->SetChannelPriority(p,a,b,c)
124*c2c66affSColin Finck #define IDirectMusicSynth_GetChannelPriority(p,a,b,c) (p)->lpVtbl->GetChannelPriority(p,a,b,c)
125*c2c66affSColin Finck #define IDirectMusicSynth_GetFormat(p,a,b) (p)->lpVtbl->GetFormat(p,a,b)
126*c2c66affSColin Finck #define IDirectMusicSynth_GetAppend(p,a) (p)->lpVtbl->GetAppend(p,a)
127*c2c66affSColin Finck #endif
128*c2c66affSColin Finck
129*c2c66affSColin Finck
130*c2c66affSColin Finck /*****************************************************************************
131*c2c66affSColin Finck * IDirectMusicSynth8 interface
132*c2c66affSColin Finck */
133*c2c66affSColin Finck #define INTERFACE IDirectMusicSynth8
DECLARE_INTERFACE_(IDirectMusicSynth8,IDirectMusicSynth)134*c2c66affSColin Finck DECLARE_INTERFACE_(IDirectMusicSynth8,IDirectMusicSynth)
135*c2c66affSColin Finck {
136*c2c66affSColin Finck /*** IUnknown methods ***/
137*c2c66affSColin Finck STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
138*c2c66affSColin Finck STDMETHOD_(ULONG,AddRef)(THIS) PURE;
139*c2c66affSColin Finck STDMETHOD_(ULONG,Release)(THIS) PURE;
140*c2c66affSColin Finck /*** IDirectMusicSynth methods ***/
141*c2c66affSColin Finck STDMETHOD(Open)(THIS_ LPDMUS_PORTPARAMS pPortParams) PURE;
142*c2c66affSColin Finck STDMETHOD(Close)(THIS) PURE;
143*c2c66affSColin Finck STDMETHOD(SetNumChannelGroups)(THIS_ DWORD dwGroups) PURE;
144*c2c66affSColin Finck STDMETHOD(Download)(THIS_ LPHANDLE phDownload, LPVOID pvData, LPBOOL pbFree) PURE;
145*c2c66affSColin Finck STDMETHOD(Unload)(THIS_ HANDLE hDownload, HRESULT (CALLBACK* lpFreeHandle)(HANDLE,HANDLE), HANDLE hUserData) PURE;
146*c2c66affSColin Finck STDMETHOD(PlayBuffer)(THIS_ REFERENCE_TIME rt, LPBYTE pbBuffer, DWORD cbBuffer) PURE;
147*c2c66affSColin Finck STDMETHOD(GetRunningStats)(THIS_ LPDMUS_SYNTHSTATS pStats) PURE;
148*c2c66affSColin Finck STDMETHOD(GetPortCaps)(THIS_ LPDMUS_PORTCAPS pCaps) PURE;
149*c2c66affSColin Finck STDMETHOD(SetMasterClock)(THIS_ IReferenceClock *pClock) PURE;
150*c2c66affSColin Finck STDMETHOD(GetLatencyClock)(THIS_ IReferenceClock **ppClock) PURE;
151*c2c66affSColin Finck STDMETHOD(Activate)(THIS_ BOOL fEnable) PURE;
152*c2c66affSColin Finck STDMETHOD(SetSynthSink)(THIS_ struct IDirectMusicSynthSink *pSynthSink) PURE;
153*c2c66affSColin Finck STDMETHOD(Render)(THIS_ short *pBuffer, DWORD dwLength, LONGLONG llPosition) PURE;
154*c2c66affSColin Finck STDMETHOD(SetChannelPriority)(THIS_ DWORD dwChannelGroup, DWORD dwChannel, DWORD dwPriority) PURE;
155*c2c66affSColin Finck STDMETHOD(GetChannelPriority)(THIS_ DWORD dwChannelGroup, DWORD dwChannel, LPDWORD pdwPriority) PURE;
156*c2c66affSColin Finck STDMETHOD(GetFormat)(THIS_ LPWAVEFORMATEX pWaveFormatEx, LPDWORD pdwWaveFormatExSiz) PURE;
157*c2c66affSColin Finck STDMETHOD(GetAppend)(THIS_ DWORD *pdwAppend) PURE;
158*c2c66affSColin Finck /*** IDirectMusicSynth8 methods ***/
159*c2c66affSColin Finck STDMETHOD(PlayVoice)(THIS_ REFERENCE_TIME rt, DWORD dwVoiceId, DWORD dwChannelGroup, DWORD dwChannel, DWORD dwDLId, LONG prPitch, LONG vrVolume, SAMPLE_TIME stVoiceStart, SAMPLE_TIME stLoopStart, SAMPLE_TIME stLoopEnd) PURE;
160*c2c66affSColin Finck STDMETHOD(StopVoice)(THIS_ REFERENCE_TIME rt, DWORD dwVoiceId) PURE;
161*c2c66affSColin Finck STDMETHOD(GetVoiceState)(THIS_ DWORD dwVoice[], DWORD cbVoice, DMUS_VOICE_STATE dwVoiceState[]) PURE;
162*c2c66affSColin Finck STDMETHOD(Refresh)(THIS_ DWORD dwDownloadID, DWORD dwFlags) PURE;
163*c2c66affSColin Finck STDMETHOD(AssignChannelToBuses)(THIS_ DWORD dwChannelGroup, DWORD dwChannel, LPDWORD pdwBuses, DWORD cBuses) PURE;
164*c2c66affSColin Finck };
165*c2c66affSColin Finck #undef INTERFACE
166*c2c66affSColin Finck
167*c2c66affSColin Finck #if !defined(__cplusplus) || defined(CINTERFACE)
168*c2c66affSColin Finck /*** IUnknown methods ***/
169*c2c66affSColin Finck #define IDirectMusicSynth8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
170*c2c66affSColin Finck #define IDirectMusicSynth8_AddRef(p) (p)->lpVtbl->AddRef(p)
171*c2c66affSColin Finck #define IDirectMusicSynth8_Release(p) (p)->lpVtbl->Release(p)
172*c2c66affSColin Finck /*** IDirectMusicSynth methods ***/
173*c2c66affSColin Finck #define IDirectMusicSynth8_Open(p,a) (p)->lpVtbl->Open(p,a)
174*c2c66affSColin Finck #define IDirectMusicSynth8_Close(p) (p)->lpVtbl->Close(p)
175*c2c66affSColin Finck #define IDirectMusicSynth8_SetNumChannelGroups(p,a) (p)->lpVtbl->SetNumChannelGroups(p,a)
176*c2c66affSColin Finck #define IDirectMusicSynth8_Download(p,a,b,c) (p)->lpVtbl->Download(p,a,b,c)
177*c2c66affSColin Finck #define IDirectMusicSynth8_Unload(p,a,b,c) (p)->lpVtbl->Unload(p,a,b,c)
178*c2c66affSColin Finck #define IDirectMusicSynth8_PlayBuffer(p,a,b,c) (p)->lpVtbl->PlayBuffer(p,a,b,c)
179*c2c66affSColin Finck #define IDirectMusicSynth8_GetRunningStats(p,a) (p)->lpVtbl->GetRunningStats(p,a)
180*c2c66affSColin Finck #define IDirectMusicSynth8_GetPortCaps(p,a) (p)->lpVtbl->GetPortCaps(p,a)
181*c2c66affSColin Finck #define IDirectMusicSynth8_SetMasterClock(p,a) (p)->lpVtbl->SetMasterClock(p,a)
182*c2c66affSColin Finck #define IDirectMusicSynth8_GetLatencyClock(p,a) (p)->lpVtbl->GetLatencyClock(p,a)
183*c2c66affSColin Finck #define IDirectMusicSynth8_Activate(p,a) (p)->lpVtbl->Activate(p,a)
184*c2c66affSColin Finck #define IDirectMusicSynth8_SetSynthSink(p,a) (p)->lpVtbl->SetSynthSink(p,a)
185*c2c66affSColin Finck #define IDirectMusicSynth8_Render(p,a,b,c) (p)->lpVtbl->Render(p,a,b,c)
186*c2c66affSColin Finck #define IDirectMusicSynth8_SetChannelPriority(p,a,b,c) (p)->lpVtbl->SetChannelPriority(p,a,b,c)
187*c2c66affSColin Finck #define IDirectMusicSynth8_GetChannelPriority(p,a,b,c) (p)->lpVtbl->GetChannelPriority(p,a,b,c)
188*c2c66affSColin Finck #define IDirectMusicSynth8_GetFormat(p,a,b) (p)->lpVtbl->GetFormat(p,a,b)
189*c2c66affSColin Finck #define IDirectMusicSynth8_GetAppend(p,a) (p)->lpVtbl->GetAppend(p,a)
190*c2c66affSColin Finck /*** IDirectMusicSynth8 methods ***/
191*c2c66affSColin Finck #define IDirectMusicSynth8_PlayVoice(p,a,b,c,d,e,f,g,h,i,j) (p)->lpVtbl->PlayVoice(p,a,b,c,d,e,f,g,h,i,j)
192*c2c66affSColin Finck #define IDirectMusicSynth8_StopVoice(p,a,b) (p)->lpVtbl->StopVoice(p,a,b)
193*c2c66affSColin Finck #define IDirectMusicSynth8_GetVoiceState(p,a,b,c) (p)->lpVtbl->GetVoiceState(p,a,b,c)
194*c2c66affSColin Finck #define IDirectMusicSynth8_Refresh(p,a,b) (p)->lpVtbl->Refresh(p,a,b)
195*c2c66affSColin Finck #define IDirectMusicSynth8_AssignChannelToBuses(p,a,b,c,d) (p)->lpVtbl->AssignChannelToBuses(p,a,b,c,d)
196*c2c66affSColin Finck #endif
197*c2c66affSColin Finck
198*c2c66affSColin Finck
199*c2c66affSColin Finck /*****************************************************************************
200*c2c66affSColin Finck * IDirectMusicSynthSink interface
201*c2c66affSColin Finck */
202*c2c66affSColin Finck #define INTERFACE IDirectMusicSynthSink
DECLARE_INTERFACE_(IDirectMusicSynthSink,IUnknown)203*c2c66affSColin Finck DECLARE_INTERFACE_(IDirectMusicSynthSink,IUnknown)
204*c2c66affSColin Finck {
205*c2c66affSColin Finck /*** IUnknown methods ***/
206*c2c66affSColin Finck STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
207*c2c66affSColin Finck STDMETHOD_(ULONG,AddRef)(THIS) PURE;
208*c2c66affSColin Finck STDMETHOD_(ULONG,Release)(THIS) PURE;
209*c2c66affSColin Finck /*** IDirectMusicSynthSink methods ***/
210*c2c66affSColin Finck STDMETHOD(Init)(THIS_ IDirectMusicSynth *pSynth) PURE;
211*c2c66affSColin Finck STDMETHOD(SetMasterClock)(THIS_ IReferenceClock *pClock) PURE;
212*c2c66affSColin Finck STDMETHOD(GetLatencyClock)(THIS_ IReferenceClock **ppClock) PURE;
213*c2c66affSColin Finck STDMETHOD(Activate)(THIS_ BOOL fEnable) PURE;
214*c2c66affSColin Finck STDMETHOD(SampleToRefTime)(THIS_ LONGLONG llSampleTime, REFERENCE_TIME *prfTime) PURE;
215*c2c66affSColin Finck STDMETHOD(RefTimeToSample)(THIS_ REFERENCE_TIME rfTime, LONGLONG *pllSampleTime) PURE;
216*c2c66affSColin Finck STDMETHOD(SetDirectSound)(THIS_ LPDIRECTSOUND pDirectSound, LPDIRECTSOUNDBUFFER pDirectSoundBuffer) PURE;
217*c2c66affSColin Finck STDMETHOD(GetDesiredBufferSize)(THIS_ LPDWORD pdwBufferSizeInSamples) PURE;
218*c2c66affSColin Finck };
219*c2c66affSColin Finck #undef INTERFACE
220*c2c66affSColin Finck
221*c2c66affSColin Finck #if !defined(__cplusplus) || defined(CINTERFACE)
222*c2c66affSColin Finck /*** IUnknown methods ***/
223*c2c66affSColin Finck #define IDirectMusicSynthSink_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
224*c2c66affSColin Finck #define IDirectMusicSynthSink_AddRef(p) (p)->lpVtbl->AddRef(p)
225*c2c66affSColin Finck #define IDirectMusicSynthSink_Release(p) (p)->lpVtbl->Release(p)
226*c2c66affSColin Finck /*** IDirectMusicSynth methods ***/
227*c2c66affSColin Finck #define IDirectMusicSynthSink_Init(p,a) (p)->lpVtbl->Init(p,a)
228*c2c66affSColin Finck #define IDirectMusicSynthSink_SetMasterClock(p,a) (p)->lpVtbl->SetMasterClock(p,a)
229*c2c66affSColin Finck #define IDirectMusicSynthSink_GetLatencyClock(p,a) (p)->lpVtbl->GetLatencyClock(p,a)
230*c2c66affSColin Finck #define IDirectMusicSynthSink_Activate(p,a) (p)->lpVtbl->Activate(p,a)
231*c2c66affSColin Finck #define IDirectMusicSynthSink_SampleToRefTime(p,a,b) (p)->lpVtbl->SampleToRefTime(p,a,b)
232*c2c66affSColin Finck #define IDirectMusicSynthSink_RefTimeToSample(p,a,b) (p)->lpVtbl->RefTimeToSample(p,a,b)
233*c2c66affSColin Finck #define IDirectMusicSynthSink_SetDirectSound(p,a,b) (p)->lpVtbl->SetDirectSound(p,a,b)
234*c2c66affSColin Finck #define IDirectMusicSynthSink_GetDesiredBufferSize(p,a) (p)->lpVtbl->GetDesiredBufferSize(p,a)
235*c2c66affSColin Finck #endif
236*c2c66affSColin Finck
237*c2c66affSColin Finck #endif /* __WINE_DMUSIC_SOFTWARESYNTH_H */
238