Commit 34ec3a63 authored by Robert Reif's avatar Robert Reif Committed by Alexandre Julliard

dsound: Make some capture functions global.

parent 48cbfd7e
...@@ -447,8 +447,7 @@ IDirectSoundCaptureImpl_Release( LPDIRECTSOUNDCAPTURE iface ) ...@@ -447,8 +447,7 @@ IDirectSoundCaptureImpl_Release( LPDIRECTSOUNDCAPTURE iface )
return ref; return ref;
} }
static HRESULT WINAPI HRESULT WINAPI IDirectSoundCaptureImpl_CreateCaptureBuffer(
IDirectSoundCaptureImpl_CreateCaptureBuffer(
LPDIRECTSOUNDCAPTURE iface, LPDIRECTSOUNDCAPTURE iface,
LPCDSCBUFFERDESC lpcDSCBufferDesc, LPCDSCBUFFERDESC lpcDSCBufferDesc,
LPDIRECTSOUNDCAPTUREBUFFER* lplpDSCaptureBuffer, LPDIRECTSOUNDCAPTUREBUFFER* lplpDSCaptureBuffer,
...@@ -494,8 +493,7 @@ IDirectSoundCaptureImpl_CreateCaptureBuffer( ...@@ -494,8 +493,7 @@ IDirectSoundCaptureImpl_CreateCaptureBuffer(
return hr; return hr;
} }
static HRESULT WINAPI HRESULT WINAPI IDirectSoundCaptureImpl_GetCaps(
IDirectSoundCaptureImpl_GetCaps(
LPDIRECTSOUNDCAPTURE iface, LPDIRECTSOUNDCAPTURE iface,
LPDSCCAPS lpDSCCaps ) LPDSCCAPS lpDSCCaps )
{ {
...@@ -528,8 +526,7 @@ IDirectSoundCaptureImpl_GetCaps( ...@@ -528,8 +526,7 @@ IDirectSoundCaptureImpl_GetCaps(
return DS_OK; return DS_OK;
} }
static HRESULT WINAPI HRESULT WINAPI IDirectSoundCaptureImpl_Initialize(
IDirectSoundCaptureImpl_Initialize(
LPDIRECTSOUNDCAPTURE iface, LPDIRECTSOUNDCAPTURE iface,
LPCGUID lpcGUID ) LPCGUID lpcGUID )
{ {
......
...@@ -527,6 +527,20 @@ void CALLBACK DSOUND_callback(HWAVEOUT hwo, UINT msg, DWORD dwUser, DWORD dw1, D ...@@ -527,6 +527,20 @@ void CALLBACK DSOUND_callback(HWAVEOUT hwo, UINT msg, DWORD dwUser, DWORD dw1, D
void DSOUND_Calc3DBuffer(IDirectSoundBufferImpl *dsb); 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_STOPPED 0
#define STATE_STARTING 1 #define STATE_STARTING 1
#define STATE_PLAYING 2 #define STATE_PLAYING 2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment