dsound: Make some capture functions global.
diff --git a/dlls/dsound/capture.c b/dlls/dsound/capture.c
index 06d0f3a..8b42582 100644
--- a/dlls/dsound/capture.c
+++ b/dlls/dsound/capture.c
@@ -447,8 +447,7 @@
return ref;
}
-static HRESULT WINAPI
-IDirectSoundCaptureImpl_CreateCaptureBuffer(
+HRESULT WINAPI IDirectSoundCaptureImpl_CreateCaptureBuffer(
LPDIRECTSOUNDCAPTURE iface,
LPCDSCBUFFERDESC lpcDSCBufferDesc,
LPDIRECTSOUNDCAPTUREBUFFER* lplpDSCaptureBuffer,
@@ -494,8 +493,7 @@
return hr;
}
-static HRESULT WINAPI
-IDirectSoundCaptureImpl_GetCaps(
+HRESULT WINAPI IDirectSoundCaptureImpl_GetCaps(
LPDIRECTSOUNDCAPTURE iface,
LPDSCCAPS lpDSCCaps )
{
@@ -528,8 +526,7 @@
return DS_OK;
}
-static HRESULT WINAPI
-IDirectSoundCaptureImpl_Initialize(
+HRESULT WINAPI IDirectSoundCaptureImpl_Initialize(
LPDIRECTSOUNDCAPTURE iface,
LPCGUID lpcGUID )
{
diff --git a/dlls/dsound/dsound_private.h b/dlls/dsound/dsound_private.h
index 77070ec..89b00f1 100644
--- a/dlls/dsound/dsound_private.h
+++ b/dlls/dsound/dsound_private.h
@@ -527,6 +527,20 @@
void DSOUND_Calc3DBuffer(IDirectSoundBufferImpl *dsb);
+/* capture.c */
+
+HRESULT WINAPI IDirectSoundCaptureImpl_CreateCaptureBuffer(
+ LPDIRECTSOUNDCAPTURE iface,
+ LPCDSCBUFFERDESC lpcDSCBufferDesc,
+ LPDIRECTSOUNDCAPTUREBUFFER* lplpDSCaptureBuffer,
+ LPUNKNOWN pUnk);
+HRESULT WINAPI IDirectSoundCaptureImpl_GetCaps(
+ LPDIRECTSOUNDCAPTURE iface,
+ LPDSCCAPS lpDSCCaps);
+HRESULT WINAPI IDirectSoundCaptureImpl_Initialize(
+ LPDIRECTSOUNDCAPTURE iface,
+ LPCGUID lpcGUID);
+
#define STATE_STOPPED 0
#define STATE_STARTING 1
#define STATE_PLAYING 2