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
3a4e11cd
Commit
3a4e11cd
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: Convert IDirectSoundImpl from a COM class to a regular class
and move most of the COM functions to the DirectSoundDevice class.
parent
73a23606
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
4 deletions
+30
-4
dsound.c
dlls/dsound/dsound.c
+0
-0
dsound_private.h
dlls/dsound/dsound_private.h
+30
-4
No files found.
dlls/dsound/dsound.c
View file @
3a4e11cd
This diff is collapsed.
Click to expand it.
dlls/dsound/dsound_private.h
View file @
3a4e11cd
...
...
@@ -71,8 +71,6 @@ typedef struct DirectSoundCaptureDevice DirectSoundCaptureDevice;
*/
struct
IDirectSoundImpl
{
/* IUnknown fields */
const
IDirectSound8Vtbl
*
lpVtbl
;
LONG
ref
;
DirectSoundDevice
*
device
;
...
...
@@ -131,12 +129,40 @@ typedef struct BufferMemory
HRESULT
DirectSoundDevice_Create
(
DirectSoundDevice
**
ppDevice
);
ULONG
DirectSoundDevice_AddRef
(
DirectSoundDevice
*
device
);
ULONG
DirectSoundDevice_Release
(
DirectSoundDevice
*
device
);
HRESULT
DirectSoundDevice_Initialize
(
DirectSoundDevice
**
ppDevice
,
LPCGUID
lpcGUID
);
HRESULT
DirectSoundDevice_AddBuffer
(
DirectSoundDevice
*
device
,
DirectSoundDevice
*
device
,
IDirectSoundBufferImpl
*
pDSB
);
HRESULT
DirectSoundDevice_RemoveBuffer
(
DirectSoundDevice
*
device
,
DirectSoundDevice
*
device
,
IDirectSoundBufferImpl
*
pDSB
);
HRESULT
DirectSoundDevice_GetCaps
(
DirectSoundDevice
*
device
,
LPDSCAPS
lpDSCaps
);
HRESULT
DirectSoundDevice_CreateSoundBuffer
(
DirectSoundDevice
*
device
,
LPCDSBUFFERDESC
dsbd
,
LPLPDIRECTSOUNDBUFFER
ppdsb
,
LPUNKNOWN
lpunk
,
BOOL
from8
);
HRESULT
DirectSoundDevice_DuplicateSoundBuffer
(
DirectSoundDevice
*
device
,
LPDIRECTSOUNDBUFFER
psb
,
LPLPDIRECTSOUNDBUFFER
ppdsb
);
HRESULT
DirectSoundDevice_SetCooperativeLevel
(
DirectSoundDevice
*
devcie
,
HWND
hwnd
,
DWORD
level
);
HRESULT
DirectSoundDevice_Compact
(
DirectSoundDevice
*
device
);
HRESULT
DirectSoundDevice_GetSpeakerConfig
(
DirectSoundDevice
*
device
,
LPDWORD
lpdwSpeakerConfig
);
HRESULT
DirectSoundDevice_SetSpeakerConfig
(
DirectSoundDevice
*
device
,
DWORD
config
);
HRESULT
DirectSoundDevice_VerifyCertification
(
DirectSoundDevice
*
device
,
LPDWORD
pdwCertified
);
/*****************************************************************************
* IDirectSound COM components
...
...
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