Robert Reif : dsound: Make some capture functions global.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jan 16 14:37:46 CST 2006


Module: wine
Branch: refs/heads/master
Commit: 34ec3a633abb3391325da4cd6824d193ad1cf684
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=34ec3a633abb3391325da4cd6824d193ad1cf684

Author: Robert Reif <reif at earthlink.net>
Date:   Mon Jan 16 20:39:14 2006 +0100

dsound: Make some capture functions global.

---

 dlls/dsound/capture.c        |    9 +++------
 dlls/dsound/dsound_private.h |   14 ++++++++++++++
 2 files changed, 17 insertions(+), 6 deletions(-)

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 @@ IDirectSoundCaptureImpl_Release( LPDIREC
     return ref;
 }
 
-static HRESULT WINAPI
-IDirectSoundCaptureImpl_CreateCaptureBuffer(
+HRESULT WINAPI IDirectSoundCaptureImpl_CreateCaptureBuffer(
     LPDIRECTSOUNDCAPTURE iface,
     LPCDSCBUFFERDESC lpcDSCBufferDesc,
     LPDIRECTSOUNDCAPTUREBUFFER* lplpDSCaptureBuffer,
@@ -494,8 +493,7 @@ IDirectSoundCaptureImpl_CreateCaptureBuf
     return hr;
 }
 
-static HRESULT WINAPI
-IDirectSoundCaptureImpl_GetCaps(
+HRESULT WINAPI IDirectSoundCaptureImpl_GetCaps(
     LPDIRECTSOUNDCAPTURE iface,
     LPDSCCAPS lpDSCCaps )
 {
@@ -528,8 +526,7 @@ IDirectSoundCaptureImpl_GetCaps(
     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 CALLBACK DSOUND_callback(HWAVEOUT h
 
 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




More information about the wine-cvs mailing list