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
a8f587e8
Commit
a8f587e8
authored
Nov 14, 2009
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Nov 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Move duplex definitions to duplex.c.
parent
708eaaa6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
51 deletions
+43
-51
dsound_private.h
dlls/dsound/dsound_private.h
+0
-51
duplex.c
dlls/dsound/duplex.c
+43
-0
No files found.
dlls/dsound/dsound_private.h
View file @
a8f587e8
...
...
@@ -52,11 +52,6 @@ typedef struct IDirectSound8_IDirectSound8 IDirectSound8_IDirectSound8;
typedef
struct
IDirectSoundBufferImpl
IDirectSoundBufferImpl
;
typedef
struct
IDirectSoundCaptureImpl
IDirectSoundCaptureImpl
;
typedef
struct
IDirectSoundCaptureBufferImpl
IDirectSoundCaptureBufferImpl
;
typedef
struct
IDirectSoundFullDuplexImpl
IDirectSoundFullDuplexImpl
;
typedef
struct
IDirectSoundFullDuplex_IUnknown
IDirectSoundFullDuplex_IUnknown
;
typedef
struct
IDirectSoundFullDuplex_IDirectSound
IDirectSoundFullDuplex_IDirectSound
;
typedef
struct
IDirectSoundFullDuplex_IDirectSound8
IDirectSoundFullDuplex_IDirectSound8
;
typedef
struct
IDirectSoundFullDuplex_IDirectSoundCapture
IDirectSoundFullDuplex_IDirectSoundCapture
;
typedef
struct
IDirectSoundNotifyImpl
IDirectSoundNotifyImpl
;
typedef
struct
IDirectSoundCaptureNotifyImpl
IDirectSoundCaptureNotifyImpl
;
typedef
struct
IDirectSound3DListenerImpl
IDirectSound3DListenerImpl
;
...
...
@@ -310,52 +305,6 @@ HRESULT IDirectSoundCaptureBufferImpl_Create(
LPCDSCBUFFERDESC
lpcDSCBufferDesc
);
/*****************************************************************************
* IDirectSoundFullDuplex implementation structure
*/
struct
IDirectSoundFullDuplexImpl
{
/* IUnknown fields */
const
IDirectSoundFullDuplexVtbl
*
lpVtbl
;
LONG
ref
;
/* IDirectSoundFullDuplexImpl fields */
DirectSoundDevice
*
renderer_device
;
DirectSoundCaptureDevice
*
capture_device
;
LPUNKNOWN
pUnknown
;
LPDIRECTSOUND
pDS
;
LPDIRECTSOUND8
pDS8
;
LPDIRECTSOUNDCAPTURE
pDSC
;
};
/*****************************************************************************
* IDirectSoundFullDuplex COM components
*/
struct
IDirectSoundFullDuplex_IUnknown
{
const
IUnknownVtbl
*
lpVtbl
;
LONG
ref
;
IDirectSoundFullDuplexImpl
*
pdsfd
;
};
struct
IDirectSoundFullDuplex_IDirectSound
{
const
IDirectSoundVtbl
*
lpVtbl
;
LONG
ref
;
IDirectSoundFullDuplexImpl
*
pdsfd
;
};
struct
IDirectSoundFullDuplex_IDirectSound8
{
const
IDirectSound8Vtbl
*
lpVtbl
;
LONG
ref
;
IDirectSoundFullDuplexImpl
*
pdsfd
;
};
struct
IDirectSoundFullDuplex_IDirectSoundCapture
{
const
IDirectSoundCaptureVtbl
*
lpVtbl
;
LONG
ref
;
IDirectSoundFullDuplexImpl
*
pdsfd
;
};
/*****************************************************************************
* IDirectSound3DListener implementation structure
*/
struct
IDirectSound3DListenerImpl
...
...
dlls/dsound/duplex.c
View file @
a8f587e8
...
...
@@ -37,6 +37,49 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
dsound
);
/*****************************************************************************
* IDirectSoundFullDuplex implementation structure
*/
typedef
struct
IDirectSoundFullDuplexImpl
{
/* IUnknown fields */
const
IDirectSoundFullDuplexVtbl
*
lpVtbl
;
LONG
ref
;
/* IDirectSoundFullDuplexImpl fields */
DirectSoundDevice
*
renderer_device
;
DirectSoundCaptureDevice
*
capture_device
;
LPUNKNOWN
pUnknown
;
LPDIRECTSOUND
pDS
;
LPDIRECTSOUND8
pDS8
;
LPDIRECTSOUNDCAPTURE
pDSC
;
}
IDirectSoundFullDuplexImpl
;
typedef
struct
IDirectSoundFullDuplex_IUnknown
{
const
IUnknownVtbl
*
lpVtbl
;
LONG
ref
;
IDirectSoundFullDuplexImpl
*
pdsfd
;
}
IDirectSoundFullDuplex_IUnknown
;
typedef
struct
IDirectSoundFullDuplex_IDirectSound
{
const
IDirectSoundVtbl
*
lpVtbl
;
LONG
ref
;
IDirectSoundFullDuplexImpl
*
pdsfd
;
}
IDirectSoundFullDuplex_IDirectSound
;
typedef
struct
IDirectSoundFullDuplex_IDirectSound8
{
const
IDirectSound8Vtbl
*
lpVtbl
;
LONG
ref
;
IDirectSoundFullDuplexImpl
*
pdsfd
;
}
IDirectSoundFullDuplex_IDirectSound8
;
typedef
struct
IDirectSoundFullDuplex_IDirectSoundCapture
{
const
IDirectSoundCaptureVtbl
*
lpVtbl
;
LONG
ref
;
IDirectSoundFullDuplexImpl
*
pdsfd
;
}
IDirectSoundFullDuplex_IDirectSoundCapture
;
/*******************************************************************************
* IUnknown
*/
...
...
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