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 )
return ref;
}
static HRESULT WINAPI
IDirectSoundCaptureImpl_CreateCaptureBuffer(
HRESULT WINAPI IDirectSoundCaptureImpl_CreateCaptureBuffer(
LPDIRECTSOUNDCAPTURE iface,
LPCDSCBUFFERDESC lpcDSCBufferDesc,
LPDIRECTSOUNDCAPTUREBUFFER* lplpDSCaptureBuffer,
......@@ -494,8 +493,7 @@ IDirectSoundCaptureImpl_CreateCaptureBuffer(
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 )
{
......
......@@ -527,6 +527,20 @@ void CALLBACK DSOUND_callback(HWAVEOUT hwo, UINT msg, DWORD dwUser, DWORD dw1, D
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
......
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