Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5b5f00d5
Commit
5b5f00d5
authored
Dec 02, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 02, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Make some capture functions static.
parent
5ab62a5c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
28 deletions
+6
-28
capture.c
dlls/dsound/capture.c
+6
-6
dsound_private.h
dlls/dsound/dsound_private.h
+0
-22
No files found.
dlls/dsound/capture.c
View file @
5b5f00d5
...
...
@@ -821,7 +821,7 @@ DSOUND_capture_callback(HWAVEIN hwi, UINT msg, DWORD_PTR dwUser, DWORD_PTR dw1,
TRACE
(
"completed
\n
"
);
}
HRESULT
IDirectSoundCaptureBufferImpl_Create
(
static
HRESULT
IDirectSoundCaptureBufferImpl_Create
(
DirectSoundCaptureDevice
*
device
,
IDirectSoundCaptureBufferImpl
**
ppobj
,
LPCDSCBUFFERDESC
lpcDSCBufferDesc
)
...
...
@@ -1006,7 +1006,7 @@ static HRESULT DirectSoundCaptureDevice_Create(
return
DS_OK
;
}
ULONG
DirectSoundCaptureDevice_Release
(
static
ULONG
DirectSoundCaptureDevice_Release
(
DirectSoundCaptureDevice
*
device
)
{
ULONG
ref
=
InterlockedDecrement
(
&
(
device
->
ref
));
...
...
@@ -1033,7 +1033,7 @@ ULONG DirectSoundCaptureDevice_Release(
return
ref
;
}
HRESULT
DirectSoundCaptureDevice_Initialize
(
static
HRESULT
DirectSoundCaptureDevice_Initialize
(
DirectSoundCaptureDevice
**
ppDevice
,
LPCGUID
lpcGUID
)
{
...
...
@@ -1221,7 +1221,7 @@ IDirectSoundCaptureImpl_Release( LPDIRECTSOUNDCAPTURE iface )
return
ref
;
}
HRESULT
WINAPI
IDirectSoundCaptureImpl_CreateCaptureBuffer
(
static
HRESULT
WINAPI
IDirectSoundCaptureImpl_CreateCaptureBuffer
(
LPDIRECTSOUNDCAPTURE
iface
,
LPCDSCBUFFERDESC
lpcDSCBufferDesc
,
LPDIRECTSOUNDCAPTUREBUFFER
*
lplpDSCaptureBuffer
,
...
...
@@ -1262,7 +1262,7 @@ HRESULT WINAPI IDirectSoundCaptureImpl_CreateCaptureBuffer(
return
hr
;
}
HRESULT
WINAPI
IDirectSoundCaptureImpl_GetCaps
(
static
HRESULT
WINAPI
IDirectSoundCaptureImpl_GetCaps
(
LPDIRECTSOUNDCAPTURE
iface
,
LPDSCCAPS
lpDSCCaps
)
{
...
...
@@ -1294,7 +1294,7 @@ HRESULT WINAPI IDirectSoundCaptureImpl_GetCaps(
return
DS_OK
;
}
HRESULT
WINAPI
IDirectSoundCaptureImpl_Initialize
(
static
HRESULT
WINAPI
IDirectSoundCaptureImpl_Initialize
(
LPDIRECTSOUNDCAPTURE
iface
,
LPCGUID
lpcGUID
)
{
...
...
dlls/dsound/dsound_private.h
View file @
5b5f00d5
...
...
@@ -273,12 +273,6 @@ struct DirectSoundCaptureDevice
CRITICAL_SECTION
lock
;
};
HRESULT
DirectSoundCaptureDevice_Initialize
(
DirectSoundCaptureDevice
**
ppDevice
,
LPCGUID
lpcGUID
);
ULONG
DirectSoundCaptureDevice_Release
(
DirectSoundCaptureDevice
*
device
);
/*****************************************************************************
* IDirectSoundCaptureBuffer implementation structure
*/
...
...
@@ -301,11 +295,6 @@ struct IDirectSoundCaptureBufferImpl
PIDSDRIVERNOTIFY
hwnotify
;
};
HRESULT
IDirectSoundCaptureBufferImpl_Create
(
DirectSoundCaptureDevice
*
device
,
IDirectSoundCaptureBufferImpl
**
ppobj
,
LPCDSCBUFFERDESC
lpcDSCBufferDesc
);
/*****************************************************************************
* IDirectSound3DListener implementation structure
*/
...
...
@@ -416,17 +405,6 @@ void DSOUND_Calc3DBuffer(IDirectSoundBufferImpl *dsb);
HRESULT
DSOUND_CaptureCreate
(
REFIID
riid
,
LPDIRECTSOUNDCAPTURE
*
ppDSC
);
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_STARTING 1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment