Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
bbeeea4b
Commit
bbeeea4b
authored
Jun 10, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Make the virtual table functions static where possible.
parent
c44fc329
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
25 deletions
+7
-25
capture.c
dlls/dsound/capture.c
+3
-1
dsound_private.h
dlls/dsound/dsound_private.h
+0
-20
duplex.c
dlls/dsound/duplex.c
+4
-4
No files found.
dlls/dsound/capture.c
View file @
bbeeea4b
...
...
@@ -46,6 +46,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(dsound);
DirectSoundCaptureDevice
*
DSOUND_capture
[
MAXWAVEDRIVERS
];
static
HRESULT
DirectSoundCaptureDevice_Create
(
DirectSoundCaptureDevice
**
ppDevice
);
static
const
char
*
captureStateString
[]
=
{
"STATE_STOPPED"
,
"STATE_STARTING"
,
...
...
@@ -1605,7 +1607,7 @@ HRESULT DirectSoundCaptureDevice_Initialize(
return
err
;
}
HRESULT
DirectSoundCaptureDevice_Create
(
static
HRESULT
DirectSoundCaptureDevice_Create
(
DirectSoundCaptureDevice
**
ppDevice
)
{
DirectSoundCaptureDevice
*
device
;
...
...
dlls/dsound/dsound_private.h
View file @
bbeeea4b
...
...
@@ -361,13 +361,9 @@ struct DirectSoundCaptureDevice
CRITICAL_SECTION
lock
;
};
HRESULT
DirectSoundCaptureDevice_Create
(
DirectSoundCaptureDevice
**
ppDevice
);
HRESULT
DirectSoundCaptureDevice_Initialize
(
DirectSoundCaptureDevice
**
ppDevice
,
LPCGUID
lpcGUID
);
ULONG
DirectSoundCaptureDevice_AddRef
(
DirectSoundCaptureDevice
*
device
);
ULONG
DirectSoundCaptureDevice_Release
(
DirectSoundCaptureDevice
*
device
);
...
...
@@ -426,40 +422,24 @@ struct IDirectSoundFullDuplex_IUnknown {
IDirectSoundFullDuplexImpl
*
pdsfd
;
};
HRESULT
IDirectSoundFullDuplex_IUnknown_Create
(
LPDIRECTSOUNDFULLDUPLEX
pdsfd
,
LPUNKNOWN
*
ppunk
);
struct
IDirectSoundFullDuplex_IDirectSound
{
const
IDirectSoundVtbl
*
lpVtbl
;
LONG
ref
;
IDirectSoundFullDuplexImpl
*
pdsfd
;
};
HRESULT
IDirectSoundFullDuplex_IDirectSound_Create
(
LPDIRECTSOUNDFULLDUPLEX
pdsfd
,
LPDIRECTSOUND
*
ppds
);
struct
IDirectSoundFullDuplex_IDirectSound8
{
const
IDirectSound8Vtbl
*
lpVtbl
;
LONG
ref
;
IDirectSoundFullDuplexImpl
*
pdsfd
;
};
HRESULT
IDirectSoundFullDuplex_IDirectSound8_Create
(
LPDIRECTSOUNDFULLDUPLEX
pdsfd
,
LPDIRECTSOUND8
*
ppds8
);
struct
IDirectSoundFullDuplex_IDirectSoundCapture
{
const
IDirectSoundCaptureVtbl
*
lpVtbl
;
LONG
ref
;
IDirectSoundFullDuplexImpl
*
pdsfd
;
};
HRESULT
IDirectSoundFullDuplex_IDirectSoundCapture_Create
(
LPDIRECTSOUNDFULLDUPLEX
pdsfd
,
LPDIRECTSOUNDCAPTURE8
*
ppdsc8
);
/*****************************************************************************
* IDirectSoundNotify implementation structure
*/
...
...
dlls/dsound/duplex.c
View file @
bbeeea4b
...
...
@@ -82,7 +82,7 @@ static const IUnknownVtbl DirectSoundFullDuplex_Unknown_Vtbl =
IDirectSoundFullDuplex_IUnknown_Release
};
HRESULT
IDirectSoundFullDuplex_IUnknown_Create
(
static
HRESULT
IDirectSoundFullDuplex_IUnknown_Create
(
LPDIRECTSOUNDFULLDUPLEX
pdsfd
,
LPUNKNOWN
*
ppunk
)
{
...
...
@@ -241,7 +241,7 @@ static const IDirectSoundVtbl DirectSoundFullDuplex_DirectSound_Vtbl =
IDirectSoundFullDuplex_IDirectSound_Initialize
};
HRESULT
IDirectSoundFullDuplex_IDirectSound_Create
(
static
HRESULT
IDirectSoundFullDuplex_IDirectSound_Create
(
LPDIRECTSOUNDFULLDUPLEX
pdsfd
,
LPDIRECTSOUND
*
ppds
)
{
...
...
@@ -406,7 +406,7 @@ static const IDirectSound8Vtbl DirectSoundFullDuplex_DirectSound8_Vtbl =
IDirectSoundFullDuplex_IDirectSound8_Initialize
};
HRESULT
IDirectSoundFullDuplex_IDirectSound8_Create
(
static
HRESULT
IDirectSoundFullDuplex_IDirectSound8_Create
(
LPDIRECTSOUNDFULLDUPLEX
pdsfd
,
LPDIRECTSOUND8
*
ppds8
)
{
...
...
@@ -520,7 +520,7 @@ static const IDirectSoundCaptureVtbl DirectSoundFullDuplex_DirectSoundCapture_Vt
IDirectSoundFullDuplex_IDirectSoundCapture_Initialize
};
HRESULT
IDirectSoundFullDuplex_IDirectSoundCapture_Create
(
static
HRESULT
IDirectSoundFullDuplex_IDirectSoundCapture_Create
(
LPDIRECTSOUNDFULLDUPLEX
pdsfd
,
LPDIRECTSOUNDCAPTURE8
*
ppdsc8
)
{
...
...
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