Commit 5b5f00d5 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

dsound: Make some capture functions static.

parent 5ab62a5c
...@@ -821,7 +821,7 @@ DSOUND_capture_callback(HWAVEIN hwi, UINT msg, DWORD_PTR dwUser, DWORD_PTR dw1, ...@@ -821,7 +821,7 @@ DSOUND_capture_callback(HWAVEIN hwi, UINT msg, DWORD_PTR dwUser, DWORD_PTR dw1,
TRACE("completed\n"); TRACE("completed\n");
} }
HRESULT IDirectSoundCaptureBufferImpl_Create( static HRESULT IDirectSoundCaptureBufferImpl_Create(
DirectSoundCaptureDevice *device, DirectSoundCaptureDevice *device,
IDirectSoundCaptureBufferImpl ** ppobj, IDirectSoundCaptureBufferImpl ** ppobj,
LPCDSCBUFFERDESC lpcDSCBufferDesc) LPCDSCBUFFERDESC lpcDSCBufferDesc)
...@@ -1006,7 +1006,7 @@ static HRESULT DirectSoundCaptureDevice_Create( ...@@ -1006,7 +1006,7 @@ static HRESULT DirectSoundCaptureDevice_Create(
return DS_OK; return DS_OK;
} }
ULONG DirectSoundCaptureDevice_Release( static ULONG DirectSoundCaptureDevice_Release(
DirectSoundCaptureDevice * device) DirectSoundCaptureDevice * device)
{ {
ULONG ref = InterlockedDecrement(&(device->ref)); ULONG ref = InterlockedDecrement(&(device->ref));
...@@ -1033,7 +1033,7 @@ ULONG DirectSoundCaptureDevice_Release( ...@@ -1033,7 +1033,7 @@ ULONG DirectSoundCaptureDevice_Release(
return ref; return ref;
} }
HRESULT DirectSoundCaptureDevice_Initialize( static HRESULT DirectSoundCaptureDevice_Initialize(
DirectSoundCaptureDevice ** ppDevice, DirectSoundCaptureDevice ** ppDevice,
LPCGUID lpcGUID) LPCGUID lpcGUID)
{ {
...@@ -1221,7 +1221,7 @@ IDirectSoundCaptureImpl_Release( LPDIRECTSOUNDCAPTURE iface ) ...@@ -1221,7 +1221,7 @@ IDirectSoundCaptureImpl_Release( LPDIRECTSOUNDCAPTURE iface )
return ref; return ref;
} }
HRESULT WINAPI IDirectSoundCaptureImpl_CreateCaptureBuffer( static HRESULT WINAPI IDirectSoundCaptureImpl_CreateCaptureBuffer(
LPDIRECTSOUNDCAPTURE iface, LPDIRECTSOUNDCAPTURE iface,
LPCDSCBUFFERDESC lpcDSCBufferDesc, LPCDSCBUFFERDESC lpcDSCBufferDesc,
LPDIRECTSOUNDCAPTUREBUFFER* lplpDSCaptureBuffer, LPDIRECTSOUNDCAPTUREBUFFER* lplpDSCaptureBuffer,
...@@ -1262,7 +1262,7 @@ HRESULT WINAPI IDirectSoundCaptureImpl_CreateCaptureBuffer( ...@@ -1262,7 +1262,7 @@ HRESULT WINAPI IDirectSoundCaptureImpl_CreateCaptureBuffer(
return hr; return hr;
} }
HRESULT WINAPI IDirectSoundCaptureImpl_GetCaps( static HRESULT WINAPI IDirectSoundCaptureImpl_GetCaps(
LPDIRECTSOUNDCAPTURE iface, LPDIRECTSOUNDCAPTURE iface,
LPDSCCAPS lpDSCCaps ) LPDSCCAPS lpDSCCaps )
{ {
...@@ -1294,7 +1294,7 @@ HRESULT WINAPI IDirectSoundCaptureImpl_GetCaps( ...@@ -1294,7 +1294,7 @@ HRESULT WINAPI IDirectSoundCaptureImpl_GetCaps(
return DS_OK; return DS_OK;
} }
HRESULT WINAPI IDirectSoundCaptureImpl_Initialize( static HRESULT WINAPI IDirectSoundCaptureImpl_Initialize(
LPDIRECTSOUNDCAPTURE iface, LPDIRECTSOUNDCAPTURE iface,
LPCGUID lpcGUID ) LPCGUID lpcGUID )
{ {
......
...@@ -273,12 +273,6 @@ struct DirectSoundCaptureDevice ...@@ -273,12 +273,6 @@ struct DirectSoundCaptureDevice
CRITICAL_SECTION lock; CRITICAL_SECTION lock;
}; };
HRESULT DirectSoundCaptureDevice_Initialize(
DirectSoundCaptureDevice ** ppDevice,
LPCGUID lpcGUID);
ULONG DirectSoundCaptureDevice_Release(
DirectSoundCaptureDevice * device);
/***************************************************************************** /*****************************************************************************
* IDirectSoundCaptureBuffer implementation structure * IDirectSoundCaptureBuffer implementation structure
*/ */
...@@ -301,11 +295,6 @@ struct IDirectSoundCaptureBufferImpl ...@@ -301,11 +295,6 @@ struct IDirectSoundCaptureBufferImpl
PIDSDRIVERNOTIFY hwnotify; PIDSDRIVERNOTIFY hwnotify;
}; };
HRESULT IDirectSoundCaptureBufferImpl_Create(
DirectSoundCaptureDevice *device,
IDirectSoundCaptureBufferImpl ** ppobj,
LPCDSCBUFFERDESC lpcDSCBufferDesc);
/***************************************************************************** /*****************************************************************************
* IDirectSound3DListener implementation structure * IDirectSound3DListener implementation structure
*/ */
...@@ -416,17 +405,6 @@ void DSOUND_Calc3DBuffer(IDirectSoundBufferImpl *dsb); ...@@ -416,17 +405,6 @@ void DSOUND_Calc3DBuffer(IDirectSoundBufferImpl *dsb);
HRESULT DSOUND_CaptureCreate(REFIID riid, LPDIRECTSOUNDCAPTURE *ppDSC); HRESULT DSOUND_CaptureCreate(REFIID riid, LPDIRECTSOUNDCAPTURE *ppDSC);
HRESULT DSOUND_CaptureCreate8(REFIID riid, LPDIRECTSOUNDCAPTURE8 *ppDSC8); HRESULT DSOUND_CaptureCreate8(REFIID riid, LPDIRECTSOUNDCAPTURE8 *ppDSC8);
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
......
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