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
7dd63746
Commit
7dd63746
authored
Jan 09, 2004
by
Robert Reif
Committed by
Alexandre Julliard
Jan 09, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added some missing defines and a struct.
Fixed some const * arguments.
parent
41beb716
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
78 additions
and
33 deletions
+78
-33
buffer.c
dlls/dsound/buffer.c
+5
-5
dsound_main.c
dlls/dsound/dsound_main.c
+1
-1
dsound_private.h
dlls/dsound/dsound_private.h
+2
-2
primary.c
dlls/dsound/primary.c
+3
-3
dsound.h
include/dsound.h
+67
-22
No files found.
dlls/dsound/buffer.c
View file @
7dd63746
...
...
@@ -177,7 +177,7 @@ HRESULT WINAPI IDirectSoundNotifyImpl_Create(
*/
static
HRESULT
WINAPI
IDirectSoundBufferImpl_SetFormat
(
LPDIRECTSOUNDBUFFER8
iface
,
LPWAVEFORMATEX
wfex
LPDIRECTSOUNDBUFFER8
iface
,
LP
C
WAVEFORMATEX
wfex
)
{
ICOM_THIS
(
IDirectSoundBufferImpl
,
iface
);
...
...
@@ -880,7 +880,7 @@ static HRESULT WINAPI IDirectSoundBufferImpl_GetObjectInPath(
}
static
HRESULT
WINAPI
IDirectSoundBufferImpl_Initialize
(
LPDIRECTSOUNDBUFFER8
iface
,
LPDIRECTSOUND8
dsound
,
LPDSBUFFERDESC
dbsd
LPDIRECTSOUNDBUFFER8
iface
,
LPDIRECTSOUND8
dsound
,
LP
C
DSBUFFERDESC
dbsd
)
{
ICOM_THIS
(
IDirectSoundBufferImpl
,
iface
);
FIXME
(
"(%p,%p,%p):stub
\n
"
,
This
,
dsound
,
dbsd
);
...
...
@@ -1033,7 +1033,7 @@ static ICOM_VTABLE(IDirectSoundBuffer8) dsbvt =
HRESULT
WINAPI
IDirectSoundBufferImpl_Create
(
IDirectSoundImpl
*
ds
,
IDirectSoundBufferImpl
**
pdsb
,
LPDSBUFFERDESC
dsbd
)
LP
C
DSBUFFERDESC
dsbd
)
{
IDirectSoundBufferImpl
*
dsb
;
LPWAVEFORMATEX
wfex
=
dsbd
->
lpwfxFormat
;
...
...
@@ -1305,7 +1305,7 @@ static HRESULT WINAPI SecondaryBufferImpl_GetStatus(
}
static
HRESULT
WINAPI
SecondaryBufferImpl_Initialize
(
LPDIRECTSOUNDBUFFER8
iface
,
LPDIRECTSOUND8
dsound
,
LPDSBUFFERDESC
dbsd
)
LPDIRECTSOUNDBUFFER8
iface
,
LPDIRECTSOUND8
dsound
,
LP
C
DSBUFFERDESC
dbsd
)
{
ICOM_THIS
(
SecondaryBufferImpl
,
iface
);
TRACE
(
"(%p,%p,%p)
\n
"
,
This
,
dsound
,
dbsd
);
...
...
@@ -1342,7 +1342,7 @@ static HRESULT WINAPI SecondaryBufferImpl_SetCurrentPosition(
}
static
HRESULT
WINAPI
SecondaryBufferImpl_SetFormat
(
LPDIRECTSOUNDBUFFER8
iface
,
LPWAVEFORMATEX
wfex
)
LPDIRECTSOUNDBUFFER8
iface
,
LP
C
WAVEFORMATEX
wfex
)
{
ICOM_THIS
(
SecondaryBufferImpl
,
iface
);
TRACE
(
"(%p,%p)
\n
"
,
This
,
wfex
);
...
...
dlls/dsound/dsound_main.c
View file @
7dd63746
...
...
@@ -488,7 +488,7 @@ static HRESULT WINAPI IDirectSoundImpl_SetCooperativeLevel(
}
static
HRESULT
WINAPI
IDirectSoundImpl_CreateSoundBuffer
(
LPDIRECTSOUND8
iface
,
LPDSBUFFERDESC
dsbd
,
LPLPDIRECTSOUNDBUFFER8
ppdsb
,
LPUNKNOWN
lpunk
LPDIRECTSOUND8
iface
,
LP
C
DSBUFFERDESC
dsbd
,
LPLPDIRECTSOUNDBUFFER8
ppdsb
,
LPUNKNOWN
lpunk
)
{
ICOM_THIS
(
IDirectSoundImpl
,
iface
);
LPWAVEFORMATEX
wfex
;
...
...
dlls/dsound/dsound_private.h
View file @
7dd63746
...
...
@@ -153,7 +153,7 @@ struct IDirectSoundBufferImpl
HRESULT
WINAPI
IDirectSoundBufferImpl_Create
(
IDirectSoundImpl
*
ds
,
IDirectSoundBufferImpl
**
pdsb
,
LPDSBUFFERDESC
dsbd
);
LP
C
DSBUFFERDESC
dsbd
);
/*****************************************************************************
* SecondaryBuffer implementation structure
...
...
@@ -182,7 +182,7 @@ struct PrimaryBufferImpl
HRESULT
WINAPI
PrimaryBufferImpl_Create
(
IDirectSoundImpl
*
ds
,
PrimaryBufferImpl
**
pdsb
,
LPDSBUFFERDESC
dsbd
);
LP
C
DSBUFFERDESC
dsbd
);
/*****************************************************************************
* IDirectSoundCapture implementation structure
...
...
dlls/dsound/primary.c
View file @
7dd63746
...
...
@@ -325,7 +325,7 @@ HRESULT DSOUND_PrimaryGetPosition(IDirectSoundImpl *This, LPDWORD playpos, LPDWO
/* This sets this format for the <em>Primary Buffer Only</em> */
/* See file:///cdrom/sdk52/docs/worddoc/dsound.doc page 120 */
static
HRESULT
WINAPI
PrimaryBufferImpl_SetFormat
(
LPDIRECTSOUNDBUFFER8
iface
,
LPWAVEFORMATEX
wfex
LPDIRECTSOUNDBUFFER8
iface
,
LP
C
WAVEFORMATEX
wfex
)
{
ICOM_THIS
(
PrimaryBufferImpl
,
iface
);
IDirectSoundImpl
*
dsound
=
This
->
dsound
;
...
...
@@ -916,7 +916,7 @@ static HRESULT WINAPI PrimaryBufferImpl_GetObjectInPath(
}
static
HRESULT
WINAPI
PrimaryBufferImpl_Initialize
(
LPDIRECTSOUNDBUFFER8
iface
,
LPDIRECTSOUND8
dsound
,
LPDSBUFFERDESC
dbsd
LPDIRECTSOUNDBUFFER8
iface
,
LPDIRECTSOUND8
dsound
,
LP
C
DSBUFFERDESC
dbsd
)
{
ICOM_THIS
(
PrimaryBufferImpl
,
iface
);
FIXME
(
"(%p,%p,%p):stub
\n
"
,
This
,
dsound
,
dbsd
);
...
...
@@ -1049,7 +1049,7 @@ static ICOM_VTABLE(IDirectSoundBuffer8) dspbvt =
HRESULT
WINAPI
PrimaryBufferImpl_Create
(
IDirectSoundImpl
*
ds
,
PrimaryBufferImpl
**
pdsb
,
LPDSBUFFERDESC
dsbd
)
LP
C
DSBUFFERDESC
dsbd
)
{
PrimaryBufferImpl
*
dsb
;
...
...
include/dsound.h
View file @
7dd63746
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