dsound: Make some capture functions global.
This commit is contained in:
parent
48cbfd7e4c
commit
34ec3a633a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue