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
27e59195
Commit
27e59195
authored
Jan 17, 2006
by
Robert Reif
Committed by
Alexandre Julliard
Jan 17, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Add full duplex support.
parent
3a4e11cd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
4 deletions
+59
-4
dsound_private.h
dlls/dsound/dsound_private.h
+59
-4
duplex.c
dlls/dsound/duplex.c
+0
-0
No files found.
dlls/dsound/dsound_private.h
View file @
27e59195
...
...
@@ -54,6 +54,10 @@ 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
;
...
...
@@ -357,14 +361,11 @@ struct DirectSoundCaptureDevice
HRESULT
DirectSoundCaptureDevice_Create
(
DirectSoundCaptureDevice
**
ppDevice
);
HRESULT
DirectSoundCaptureDevice_Initialize
(
DirectSoundCaptureDevice
**
ppDevice
,
LPCGUID
lpcGUID
);
ULONG
DirectSoundCaptureDevice_AddRef
(
DirectSoundCaptureDevice
*
device
);
ULONG
DirectSoundCaptureDevice_Release
(
DirectSoundCaptureDevice
*
device
);
...
...
@@ -402,12 +403,62 @@ struct IDirectSoundFullDuplexImpl
{
/* IUnknown fields */
const
IDirectSoundFullDuplexVtbl
*
lpVtbl
;
LONG
ref
;
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
;
};
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
*/
struct
IDirectSoundNotifyImpl
...
...
@@ -555,6 +606,10 @@ void CALLBACK DSOUND_callback(HWAVEOUT hwo, UINT msg, DWORD dwUser, DWORD dw1, D
void
DSOUND_Calc3DBuffer
(
IDirectSoundBufferImpl
*
dsb
);
/* duplex.c */
HRESULT
DSOUND_FullDuplexCreate
(
LPDIRECTSOUNDFULLDUPLEX
*
ppDSFD
,
IUnknown
*
pUnkOuter
);
/* capture.c */
HRESULT
WINAPI
IDirectSoundCaptureImpl_CreateCaptureBuffer
(
...
...
dlls/dsound/duplex.c
View file @
27e59195
This diff is collapsed.
Click to expand it.
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